diff options
Diffstat (limited to 'pod')
-rw-r--r-- | pod/perl561delta.pod | 6 | ||||
-rw-r--r-- | pod/perl56delta.pod | 6 |
2 files changed, 12 insertions, 0 deletions
diff --git a/pod/perl561delta.pod b/pod/perl561delta.pod index fa36ebcf1c..ef4caa7a72 100644 --- a/pod/perl561delta.pod +++ b/pod/perl561delta.pod @@ -1388,6 +1388,12 @@ C<fred.com> 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<perlvar> for +details. + =head1 Modules and Pragmata =head2 Modules diff --git a/pod/perl56delta.pod b/pod/perl56delta.pod index 097f43e6b5..b5425b2486 100644 --- a/pod/perl56delta.pod +++ b/pod/perl56delta.pod @@ -790,6 +790,12 @@ C<fred.com> 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<perlvar> for +details. + =head1 Modules and Pragmata =head2 Modules |