| 15 |
Perl 5.10, including support for UTF-8 encoded strings and Unicode general |
Perl 5.10, including support for UTF-8 encoded strings and Unicode general |
| 16 |
category properties. However, UTF-8 and Unicode support has to be explicitly |
category properties. However, UTF-8 and Unicode support has to be explicitly |
| 17 |
enabled; it is not the default. The Unicode tables correspond to Unicode |
enabled; it is not the default. The Unicode tables correspond to Unicode |
| 18 |
release 5.0.0. |
release 5.1. |
| 19 |
.P |
.P |
| 20 |
In addition to the Perl-compatible matching function, PCRE contains an |
In addition to the Perl-compatible matching function, PCRE contains an |
| 21 |
alternative matching function that matches the same compiled patterns in a |
alternative matching function that matches the same compiled patterns in a |
| 163 |
.\" HREF |
.\" HREF |
| 164 |
\fBpcre_compile()\fP |
\fBpcre_compile()\fP |
| 165 |
.\" |
.\" |
| 166 |
with the PCRE_UTF8 option flag. When you do this, both the pattern and any |
with the PCRE_UTF8 option flag, or the pattern must start with the sequence |
| 167 |
subject strings that are matched against it are treated as UTF-8 strings |
(*UTF8). When either of these is the case, both the pattern and any subject |
| 168 |
instead of just strings of bytes. |
strings that are matched against it are treated as UTF-8 strings instead of |
| 169 |
|
just strings of bytes. |
| 170 |
.P |
.P |
| 171 |
If you compile PCRE with UTF-8 support, but do not use it at run time, the |
If you compile PCRE with UTF-8 support, but do not use it at run time, the |
| 172 |
library will be a bit bigger, but the additional run time overhead is limited |
library will be a bit bigger, but the additional run time overhead is limited |
| 291 |
.rs |
.rs |
| 292 |
.sp |
.sp |
| 293 |
.nf |
.nf |
| 294 |
Last updated: 18 March 2009 |
Last updated: 11 April 2009 |
| 295 |
Copyright (c) 1997-2009 University of Cambridge. |
Copyright (c) 1997-2009 University of Cambridge. |
| 296 |
.fi |
.fi |