diff options
author | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2002-03-27 23:35:03 +0100 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2002-03-27 21:08:03 +0000 |
commit | fe4b3f2217b0673e1a826e8cf7a98a9a41beb70b (patch) | |
tree | 929e2283f43d5b55f3fb04e6ddbc338e7119eec8 /pod/perlop.pod | |
parent | 822ebcc8f363a229da6a08b4a4a413d4e93e0fb9 (diff) | |
download | perl-fe4b3f2217b0673e1a826e8cf7a98a9a41beb70b.tar.gz |
[DOC PATCH] Re: [ID 20020324.002] \G bug on zero-length matches
Message-ID: <20020327223503.A678@rafael>
p4raw-id: //depot/perl@15553
Diffstat (limited to 'pod/perlop.pod')
-rw-r--r-- | pod/perlop.pod | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pod/perlop.pod b/pod/perlop.pod index 944772b758..e842317175 100644 --- a/pod/perlop.pod +++ b/pod/perlop.pod @@ -895,7 +895,8 @@ C<m//g>, if any, left off. Without the C</g> modifier, the C<\G> assertion still anchors at pos(), but the match is of course only attempted once. Using C<\G> without C</g> on a target string that has not previously had a C</g> match applied to it is the same as using the C<\A> assertion to match -the beginning of the string. +the beginning of the string. Note also that, currently, C<\G> is only +properly supported when anchored at the very beginning of the pattern. Examples: |