/[pcre]/code/trunk/doc/pcrecompat.3
ViewVC logotype

Diff of /code/trunk/doc/pcrecompat.3

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 209 by ph10, Wed Jun 13 14:55:18 2007 UTC revision 210 by ph10, Wed Aug 8 14:24:50 2007 UTC
# Line 81  treated as atomic groups in PCRE. This i Line 81  treated as atomic groups in PCRE. This i
81  strings when part of a pattern is repeated. For example, matching "aba" against  strings when part of a pattern is repeated. For example, matching "aba" against
82  the pattern /^(a(b)?)+$/ in Perl leaves $2 unset, but in PCRE it is set to "b".  the pattern /^(a(b)?)+$/ in Perl leaves $2 unset, but in PCRE it is set to "b".
83  .P  .P
84  11. PCRE provides some extensions to the Perl regular expression facilities.  11. PCRE does support Perl 5.10's backtracking verbs (*ACCEPT), (*FAIL), (*F),
85    (*COMMIT), (*PRUNE), (*SKIP), and (*THEN), but only in the forms without an
86    argument. PCRE does not support (*MARK). If (*ACCEPT) is within capturing
87    parentheses, PCRE does not set that capture group; this is different to Perl.
88    .P
89    12. PCRE provides some extensions to the Perl regular expression facilities.
90  Perl 5.10 will include new features that are not in earlier versions, some of  Perl 5.10 will include new features that are not in earlier versions, some of
91  which (such as named parentheses) have been in PCRE for some time. This list is  which (such as named parentheses) have been in PCRE for some time. This list is
92  with respect to Perl 5.10:  with respect to Perl 5.10:
# Line 132  Cambridge CB2 3QH, England. Line 137  Cambridge CB2 3QH, England.
137  .rs  .rs
138  .sp  .sp
139  .nf  .nf
140  Last updated: 13 June 2007  Last updated: 08 August 2007
141  Copyright (c) 1997-2007 University of Cambridge.  Copyright (c) 1997-2007 University of Cambridge.
142  .fi  .fi

Legend:
Removed from v.209  
changed lines
  Added in v.210

  ViewVC Help
Powered by ViewVC 1.1.5