| 35 |
<li><a name="TOC20" href="#SEC20">SUBPATTERNS AS SUBROUTINES</a> |
<li><a name="TOC20" href="#SEC20">SUBPATTERNS AS SUBROUTINES</a> |
| 36 |
<li><a name="TOC21" href="#SEC21">CALLOUTS</a> |
<li><a name="TOC21" href="#SEC21">CALLOUTS</a> |
| 37 |
<li><a name="TOC22" href="#SEC22">SEE ALSO</a> |
<li><a name="TOC22" href="#SEC22">SEE ALSO</a> |
| 38 |
|
<li><a name="TOC23" href="#SEC23">AUTHOR</a> |
| 39 |
|
<li><a name="TOC24" href="#SEC24">REVISION</a> |
| 40 |
</ul> |
</ul> |
| 41 |
<br><a name="SEC1" href="#TOC1">PCRE REGULAR EXPRESSION DETAILS</a><br> |
<br><a name="SEC1" href="#TOC1">PCRE REGULAR EXPRESSION DETAILS</a><br> |
| 42 |
<P> |
<P> |
| 297 |
<a href="pcreapi.html#localesupport">"Locale support"</a> |
<a href="pcreapi.html#localesupport">"Locale support"</a> |
| 298 |
in the |
in the |
| 299 |
<a href="pcreapi.html"><b>pcreapi</b></a> |
<a href="pcreapi.html"><b>pcreapi</b></a> |
| 300 |
page). For example, in the "fr_FR" (French) locale, some character codes |
page). For example, in a French locale such as "fr_FR" in Unix-like systems, |
| 301 |
greater than 128 are used for accented letters, and these are matched by \w. |
or "french" in Windows, some character codes greater than 128 are used for |
| 302 |
|
accented letters, and these are matched by \w. |
| 303 |
</P> |
</P> |
| 304 |
<P> |
<P> |
| 305 |
In UTF-8 mode, characters with values greater than 128 never match \d, \s, or |
In UTF-8 mode, characters with values greater than 128 never match \d, \s, or |
| 757 |
If a range that includes letters is used when caseless matching is set, it |
If a range that includes letters is used when caseless matching is set, it |
| 758 |
matches the letters in either case. For example, [W-c] is equivalent to |
matches the letters in either case. For example, [W-c] is equivalent to |
| 759 |
[][\\^_`wxyzabc], matched caselessly, and in non-UTF-8 mode, if character |
[][\\^_`wxyzabc], matched caselessly, and in non-UTF-8 mode, if character |
| 760 |
tables for the "fr_FR" locale are in use, [\xc8-\xcb] matches accented E |
tables for a French locale are in use, [\xc8-\xcb] matches accented E |
| 761 |
characters in both cases. In UTF-8 mode, PCRE supports the concept of case for |
characters in both cases. In UTF-8 mode, PCRE supports the concept of case for |
| 762 |
characters with values greater than 128 only when it is compiled with Unicode |
characters with values greater than 128 only when it is compiled with Unicode |
| 763 |
property support. |
property support. |
| 1825 |
<P> |
<P> |
| 1826 |
<b>pcreapi</b>(3), <b>pcrecallout</b>(3), <b>pcrematching</b>(3), <b>pcre</b>(3). |
<b>pcreapi</b>(3), <b>pcrecallout</b>(3), <b>pcrematching</b>(3), <b>pcre</b>(3). |
| 1827 |
</P> |
</P> |
| 1828 |
|
<br><a name="SEC23" href="#TOC1">AUTHOR</a><br> |
| 1829 |
<P> |
<P> |
| 1830 |
Last updated: 06 December 2006 |
Philip Hazel |
| 1831 |
|
<br> |
| 1832 |
|
University Computing Service |
| 1833 |
|
<br> |
| 1834 |
|
Cambridge CB2 3QH, England. |
| 1835 |
|
<br> |
| 1836 |
|
</P> |
| 1837 |
|
<br><a name="SEC24" href="#TOC1">REVISION</a><br> |
| 1838 |
|
<P> |
| 1839 |
|
Last updated: 06 March 2007 |
| 1840 |
|
<br> |
| 1841 |
|
Copyright © 1997-2007 University of Cambridge. |
| 1842 |
<br> |
<br> |
|
Copyright © 1997-2006 University of Cambridge. |
|
| 1843 |
<p> |
<p> |
| 1844 |
Return to the <a href="index.html">PCRE index page</a>. |
Return to the <a href="index.html">PCRE index page</a>. |
| 1845 |
</p> |
</p> |