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: |
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 |