| 95 |
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". |
| 96 |
</P> |
</P> |
| 97 |
<P> |
<P> |
| 98 |
11. PCRE provides some extensions to the Perl regular expression facilities. |
11. PCRE does support Perl 5.10's backtracking verbs (*ACCEPT), (*FAIL), (*F), |
| 99 |
|
(*COMMIT), (*PRUNE), (*SKIP), and (*THEN), but only in the forms without an |
| 100 |
|
argument. PCRE does not support (*MARK). If (*ACCEPT) is within capturing |
| 101 |
|
parentheses, PCRE does not set that capture group; this is different to Perl. |
| 102 |
|
</P> |
| 103 |
|
<P> |
| 104 |
|
12. PCRE provides some extensions to the Perl regular expression facilities. |
| 105 |
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 |
| 106 |
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 |
| 107 |
with respect to Perl 5.10: |
with respect to Perl 5.10: |
| 162 |
REVISION |
REVISION |
| 163 |
</b><br> |
</b><br> |
| 164 |
<P> |
<P> |
| 165 |
Last updated: 13 June 2007 |
Last updated: 08 August 2007 |
| 166 |
<br> |
<br> |
| 167 |
Copyright © 1997-2007 University of Cambridge. |
Copyright © 1997-2007 University of Cambridge. |
| 168 |
<br> |
<br> |