diff options
author | brian d foy <bdfoy@cpan.org> | 2009-11-19 18:10:48 -0600 |
---|---|---|
committer | brian d foy <bdfoy@cpan.org> | 2009-11-19 18:10:48 -0600 |
commit | 589a5df2575124305cbb6773b00c1d338c9b8553 (patch) | |
tree | 441bef92d8ec76520a83fde900c4ac007a151d61 /pod/perlfaq6.pod | |
parent | e1d16ab77edac901d7fbfed3aa4b801de9f3325e (diff) | |
download | perl-589a5df2575124305cbb6773b00c1d338c9b8553.tar.gz |
* FAQ sync for Nov blead release
This comes from 028b6d17a07335707c2b234cb69ac4051ed48435 in
git@github.com:briandfoy/perlfaq.git
Diffstat (limited to 'pod/perlfaq6.pod')
-rw-r--r-- | pod/perlfaq6.pod | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pod/perlfaq6.pod b/pod/perlfaq6.pod index ea7dcb315d..2e045defb0 100644 --- a/pod/perlfaq6.pod +++ b/pod/perlfaq6.pod @@ -169,7 +169,7 @@ things can occur out-of-order. Just when you think you've got a pattern that matches your input, someone throws you a curveball. If you'd like to do it the hard way, scratching and clawing your way -toward a right answer but constantly being disappointed, beseiged by +toward a right answer but constantly being disappointed, besieged by bug reports, and weary from the inordinate amount of time you have to spend reinventing a triangular wheel, then there are several things you can try before you give up in frustration: @@ -528,7 +528,7 @@ The regular expression to match the balanced text uses two new (to Perl 5.10) regular expression features. These are covered in L<perlre> and this example is a modified version of one in that documentation. -First, adding the new possesive C<+> to any quantifier finds the +First, adding the new possessive C<+> to any quantifier finds the longest match and does not backtrack. That's important since you want to handle any angle brackets through the recursion, not backtracking. The group C<< [^<>]++ >> finds one or more non-angle brackets without |