diff options
author | Jim Cromie <jcromie@cpan.org> | 2007-11-18 11:01:13 -0700 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2007-11-19 10:58:03 +0000 |
commit | e15dad31518e417fb393c47e2ea49139c989feee (patch) | |
tree | 2484a5fca88c0320cbda2c054253b478824b8afa /pod/perl5100delta.pod | |
parent | ed8ea1b6c33b7f7d6850a8647789fbb5137fec5f (diff) | |
download | perl-e15dad31518e417fb393c47e2ea49139c989feee.tar.gz |
rc1 patch - delta, comment nits
Message-ID: <4740E059.30808@gmail.com>
p4raw-id: //depot/perl@32401
Diffstat (limited to 'pod/perl5100delta.pod')
-rw-r--r-- | pod/perl5100delta.pod | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/pod/perl5100delta.pod b/pod/perl5100delta.pod index b37a7dcf95..b3c14d6463 100644 --- a/pod/perl5100delta.pod +++ b/pod/perl5100delta.pod @@ -111,10 +111,10 @@ nested balanced angle brackets: $ # end of line /x -Note, users experienced with PCRE will find that the Perl implementation -of this feature differs from the PCRE one in that it is possible to -backtrack into a recursed pattern, whereas in PCRE the recursion is -atomic or "possessive" in nature. (Yves Orton) +PCRE users should note that Perl's recursive regex feature allows +backtracking into a recursed pattern, whereas in PCRE the recursion is +atomic or "possessive" in nature. As in the example above, you can +add (?>) to control this selectively. (Yves Orton) =item Named Capture Buffers @@ -124,7 +124,7 @@ It's possible to backreference to a named buffer with the C<< \k<NAME> >> syntax. In code, the new magical hashes C<%+> and C<%-> can be used to access the contents of the capture buffers. -Thus, to replace all doubled chars, one could write +Thus, to replace all doubled chars with a single copy, one could write s/(?<letter>.)\k<letter>/$+{letter}/g @@ -1036,7 +1036,7 @@ released. =item Aho-Corasick start-point optimisation When a pattern starts with a trie-able alternation and there aren't -better optimisations available the regex engine will use Aho-Corasick +better optimisations available, the regex engine will use Aho-Corasick matching to find the start point. (Yves Orton) =back |