| 18 |
<P> |
<P> |
| 19 |
This document describes the differences in the ways that PCRE and Perl handle |
This document describes the differences in the ways that PCRE and Perl handle |
| 20 |
regular expressions. The differences described here are mainly with respect to |
regular expressions. The differences described here are mainly with respect to |
| 21 |
Perl 5.8, though PCRE version 7.0 contains some features that are expected to |
Perl 5.8, though PCRE versions 7.0 and later contain some features that are |
| 22 |
be in the forthcoming Perl 5.10. |
expected to be in the forthcoming Perl 5.10. |
| 23 |
</P> |
</P> |
| 24 |
<P> |
<P> |
| 25 |
1. PCRE has only a subset of Perl's UTF-8 and Unicode support. Details of what |
1. PCRE has only a subset of Perl's UTF-8 and Unicode support. Details of what |
| 111 |
<br> |
<br> |
| 112 |
<br> |
<br> |
| 113 |
(c) If PCRE_EXTRA is set, a backslash followed by a letter with no special |
(c) If PCRE_EXTRA is set, a backslash followed by a letter with no special |
| 114 |
meaning is faulted. Otherwise, like Perl, the backslash is ignored. (Perl can |
meaning is faulted. Otherwise, like Perl, the backslash is quietly ignored. |
| 115 |
be made to issue a warning.) |
(Perl can be made to issue a warning.) |
| 116 |
<br> |
<br> |
| 117 |
<br> |
<br> |
| 118 |
(d) If PCRE_UNGREEDY is set, the greediness of the repetition quantifiers is |
(d) If PCRE_UNGREEDY is set, the greediness of the repetition quantifiers is |
| 156 |
REVISION |
REVISION |
| 157 |
</b><br> |
</b><br> |
| 158 |
<P> |
<P> |
| 159 |
Last updated: 06 March 2007 |
Last updated: 13 June 2007 |
| 160 |
<br> |
<br> |
| 161 |
Copyright © 1997-2007 University of Cambridge. |
Copyright © 1997-2007 University of Cambridge. |
| 162 |
<br> |
<br> |