From: Yitzchak Scott-Thoennes Date: Tue, 8 Nov 2005 08:46:42 +0000 (-0800) Subject: [DOC PATCH] mention @-, @+ in perl56delta.pod X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=3e4c7cf008fe62589948871e79a9291f027aff83;p=p5sagit%2Fp5-mst-13.2.git [DOC PATCH] mention @-, @+ in perl56delta.pod Message-ID: <20051108164642.GD7972@efn.org> p4raw-id: //depot/perl@26047 --- diff --git a/pod/perl561delta.pod b/pod/perl561delta.pod index fa36ebc..ef4caa7 100644 --- a/pod/perl561delta.pod +++ b/pod/perl561delta.pod @@ -1388,6 +1388,12 @@ C if you don't backslash the C<@>. See http://www.plover.com/~mjd/perl/at-error.html for more details about the history here. +=head2 @- and @+ provide starting/ending offsets of regex submatches + +The new magic variables @- and @+ provide the starting and ending +offsets, respectively, of $&, $1, $2, etc. See L for +details. + =head1 Modules and Pragmata =head2 Modules diff --git a/pod/perl56delta.pod b/pod/perl56delta.pod index 097f43e..b5425b2 100644 --- a/pod/perl56delta.pod +++ b/pod/perl56delta.pod @@ -790,6 +790,12 @@ C if you don't backslash the C<@>. See http://www.plover.com/~mjd/perl/at-error.html for more details about the history here. +=head2 @- and @+ provide starting/ending offsets of regex matches + +The new magic variables @- and @+ provide the starting and ending +offsets, respectively, of $&, $1, $2, etc. See L for +details. + =head1 Modules and Pragmata =head2 Modules