6 |
.sp |
.sp |
7 |
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 |
8 |
regular expressions. The differences described here are mainly with respect to |
regular expressions. The differences described here are mainly with respect to |
9 |
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 |
10 |
be in the forthcoming Perl 5.10. |
expected to be in the forthcoming Perl 5.10. |
11 |
.P |
.P |
12 |
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 |
13 |
it does have are given in the |
it does have are given in the |
94 |
meta-character matches only at the very end of the string. |
meta-character matches only at the very end of the string. |
95 |
.sp |
.sp |
96 |
(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 |
97 |
meaning is faulted. Otherwise, like Perl, the backslash is ignored. (Perl can |
meaning is faulted. Otherwise, like Perl, the backslash is quietly ignored. |
98 |
be made to issue a warning.) |
(Perl can be made to issue a warning.) |
99 |
.sp |
.sp |
100 |
(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 |
101 |
inverted, that is, by default they are not greedy, but if followed by a |
inverted, that is, by default they are not greedy, but if followed by a |
132 |
.rs |
.rs |
133 |
.sp |
.sp |
134 |
.nf |
.nf |
135 |
Last updated: 06 March 2007 |
Last updated: 13 June 2007 |
136 |
Copyright (c) 1997-2007 University of Cambridge. |
Copyright (c) 1997-2007 University of Cambridge. |
137 |
.fi |
.fi |