From: Jeff Pinyan Date: Thu, 26 Jul 2001 20:03:12 +0000 (-0400) Subject: $^N foolery as well X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=0926d669f0aeb90483227aeb54b96aaa4edee0f3;p=p5sagit%2Fp5-mst-13.2.git $^N foolery as well Message-ID: p4raw-id: //depot/perl@11474 --- diff --git a/pod/perlvar.pod b/pod/perlvar.pod index 817f1e5..d9b4c41 100644 --- a/pod/perlvar.pod +++ b/pod/perlvar.pod @@ -472,10 +472,8 @@ This array holds the offsets of the beginnings of the last successful submatches in the currently active dynamic scope. C<$-[0]> is the offset into the string of the beginning of the entire match. The Ith element of this array holds the offset -of the Ith submatch, so C<$+[1]> is the offset where $1 -begins, C<$+[2]> the offset where $2 begins, and so on. -You can use C<$#-> to determine how many subgroups were in the -last successful match. Compare with the C<@+> variable. +of the Ith submatch, so C<$-[1]> is the offset where $1 +begins, C<$-[2]> the offset where $2 begins, and so on. After a match against some variable $var: