| 8 |
regular expressions. The differences described here are with respect to Perl |
regular expressions. The differences described here are with respect to Perl |
| 9 |
5.8. |
5.8. |
| 10 |
.P |
.P |
| 11 |
1. PCRE does not have full UTF-8 support. Details of what it does have are |
1. PCRE has only a subset of Perl's UTF-8 and Unicode support. Details of what |
| 12 |
given in the |
it does have are given in the |
| 13 |
.\" HTML <a href="pcre.html#utf8support"> |
.\" HTML <a href="pcre.html#utf8support"> |
| 14 |
.\" </a> |
.\" </a> |
| 15 |
section on UTF-8 support |
section on UTF-8 support |
| 44 |
6. The Perl escape sequences \ep, \eP, and \eX are supported only if PCRE is |
6. The Perl escape sequences \ep, \eP, and \eX are supported only if PCRE is |
| 45 |
built with Unicode character property support. The properties that can be |
built with Unicode character property support. The properties that can be |
| 46 |
tested with \ep and \eP are limited to the general category properties such as |
tested with \ep and \eP are limited to the general category properties such as |
| 47 |
Lu and Nd. |
Lu and Nd, script names such as Greek or Han, and the derived properties Any |
| 48 |
|
and L&. |
| 49 |
.P |
.P |
| 50 |
7. PCRE does support the \eQ...\eE escape for quoting substrings. Characters in |
7. PCRE does support the \eQ...\eE escape for quoting substrings. Characters in |
| 51 |
between are treated as literals. This is slightly different from Perl in that $ |
between are treated as literals. This is slightly different from Perl in that $ |
| 120 |
different way and is not Perl-compatible. |
different way and is not Perl-compatible. |
| 121 |
.P |
.P |
| 122 |
.in 0 |
.in 0 |
| 123 |
Last updated: 28 February 2005 |
Last updated: 24 January 2006 |
| 124 |
.br |
.br |
| 125 |
Copyright (c) 1997-2005 University of Cambridge. |
Copyright (c) 1997-2006 University of Cambridge. |