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 |
141 |
(j) The alternative matching function (<b>pcre_dfa_exec()</b>) matches in a |
(j) The alternative matching function (<b>pcre_dfa_exec()</b>) matches in a |
142 |
different way and is not Perl-compatible. |
different way and is not Perl-compatible. |
143 |
</P> |
</P> |
144 |
|
<br><b> |
145 |
|
AUTHOR |
146 |
|
</b><br> |
147 |
<P> |
<P> |
148 |
Last updated: 28 November 2006 |
Philip Hazel |
149 |
|
<br> |
150 |
|
University Computing Service |
151 |
|
<br> |
152 |
|
Cambridge CB2 3QH, England. |
153 |
|
<br> |
154 |
|
</P> |
155 |
|
<br><b> |
156 |
|
REVISION |
157 |
|
</b><br> |
158 |
|
<P> |
159 |
|
Last updated: 13 June 2007 |
160 |
|
<br> |
161 |
|
Copyright © 1997-2007 University of Cambridge. |
162 |
<br> |
<br> |
|
Copyright © 1997-2006 University of Cambridge. |
|
163 |
<p> |
<p> |
164 |
Return to the <a href="index.html">PCRE index page</a>. |
Return to the <a href="index.html">PCRE index page</a>. |
165 |
</p> |
</p> |