diff options
author | Hugo van der Sanden <hv@crypt.org> | 2002-03-29 16:53:27 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2002-03-29 17:21:22 +0000 |
commit | 25cf8c221694f204b8dcdb15a864ea224c360401 (patch) | |
tree | 7118f4c1d9781e0e4be9181fb4834399b3e15a12 /pod/perlretut.pod | |
parent | 471505cc5beed1a51617bf50cddf9bd18ee2824b (diff) | |
download | perl-25cf8c221694f204b8dcdb15a864ea224c360401.tar.gz |
Re: [DOC PATCH] Regex \G and POSIX restrictions
Message-Id: <200203291653.g2TGrRp26588@crypt.compulink.co.uk>
p4raw-id: //depot/perl@15608
Diffstat (limited to 'pod/perlretut.pod')
-rw-r--r-- | pod/perlretut.pod | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pod/perlretut.pod b/pod/perlretut.pod index 4ea9ecc497..f0b5d1d389 100644 --- a/pod/perlretut.pod +++ b/pod/perlretut.pod @@ -1403,7 +1403,8 @@ off. C<\G> allows us to easily do context-sensitive matching: The combination of C<//g> and C<\G> allows us to process the string a bit at a time and use arbitrary Perl logic to decide what to do next. -Currently, the C<\G> anchor only works at the beginning of a pattern. +Currently, the C<\G> anchor is only fully supported when used to anchor +to the start of the pattern. C<\G> is also invaluable in processing fixed length records with regexps. Suppose we have a snippet of coding region DNA, encoded as |