734 |
value. When running in UTF-8 mode, this applies only to characters with codes |
value. When running in UTF-8 mode, this applies only to characters with codes |
735 |
less than 128. Higher-valued codes never match escapes such as \ew or \ed, but |
less than 128. Higher-valued codes never match escapes such as \ew or \ed, but |
736 |
can be tested with \ep if PCRE is built with Unicode character property |
can be tested with \ep if PCRE is built with Unicode character property |
737 |
support. The use of locales with Unicode is discouraged. If you are handling |
support. The use of locales with Unicode is discouraged. If you are handling |
738 |
characters with codes greater than 128, you should either use UTF-8 and |
characters with codes greater than 128, you should either use UTF-8 and |
739 |
Unicode, or use locales, but not try to mix the two. |
Unicode, or use locales, but not try to mix the two. |
740 |
.P |
.P |
741 |
PCRE contains an internal set of tables that are used when the final argument |
PCRE contains an internal set of tables that are used when the final argument |
742 |
of \fBpcre_compile()\fP is NULL. These are sufficient for many applications. |
of \fBpcre_compile()\fP is NULL. These are sufficient for many applications. |
743 |
Normally, the internal tables recognize only ASCII characters. However, when |
Normally, the internal tables recognize only ASCII characters. However, when |
744 |
PCRE is built, it is possible to cause the internal tables to be rebuilt in the |
PCRE is built, it is possible to cause the internal tables to be rebuilt in the |
745 |
default "C" locale of the local system, which may cause them to be different. |
default "C" locale of the local system, which may cause them to be different. |
746 |
.P |
.P |
760 |
tables = pcre_maketables(); |
tables = pcre_maketables(); |
761 |
re = pcre_compile(..., tables); |
re = pcre_compile(..., tables); |
762 |
.sp |
.sp |
763 |
The locale name "fr_FR" is used on Linux and other Unix-like systems; if you |
The locale name "fr_FR" is used on Linux and other Unix-like systems; if you |
764 |
are using Windows, the name for the French locale is "french". |
are using Windows, the name for the French locale is "french". |
765 |
.P |
.P |
766 |
When \fBpcre_maketables()\fP runs, the tables are built in memory that is |
When \fBpcre_maketables()\fP runs, the tables are built in memory that is |