34 |
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 |
35 |
category properties. However, UTF-8 and Unicode support has to be explicitly |
category properties. However, UTF-8 and Unicode support has to be explicitly |
36 |
enabled; it is not the default. The Unicode tables correspond to Unicode |
enabled; it is not the default. The Unicode tables correspond to Unicode |
37 |
release 5.0.0. |
release 5.1. |
38 |
</P> |
</P> |
39 |
<P> |
<P> |
40 |
In addition to the Perl-compatible matching function, PCRE contains an |
In addition to the Perl-compatible matching function, PCRE contains an |
160 |
In order process UTF-8 strings, you must build PCRE to include UTF-8 support in |
In order process UTF-8 strings, you must build PCRE to include UTF-8 support in |
161 |
the code, and, in addition, you must call |
the code, and, in addition, you must call |
162 |
<a href="pcre_compile.html"><b>pcre_compile()</b></a> |
<a href="pcre_compile.html"><b>pcre_compile()</b></a> |
163 |
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 |
164 |
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 |
165 |
instead of just strings of bytes. |
strings that are matched against it are treated as UTF-8 strings instead of |
166 |
|
just strings of bytes. |
167 |
</P> |
</P> |
168 |
<P> |
<P> |
169 |
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 |
297 |
</P> |
</P> |
298 |
<br><a name="SEC6" href="#TOC1">REVISION</a><br> |
<br><a name="SEC6" href="#TOC1">REVISION</a><br> |
299 |
<P> |
<P> |
300 |
Last updated: 18 March 2009 |
Last updated: 11 April 2009 |
301 |
<br> |
<br> |
302 |
Copyright © 1997-2009 University of Cambridge. |
Copyright © 1997-2009 University of Cambridge. |
303 |
<br> |
<br> |