pcre/testdata/testinput3

105 lines
1.4 KiB
Plaintext
Raw Normal View History

2014-07-24 14:01:11 -04:00
# This set of tests checks local-specific features, using the "fr_FR" locale.
# It is not Perl-compatible. When run via RunTest, the locale is edited to
# be whichever of "fr_FR", "french", or "fr" is found to exist. There is
# different version of this file called wintestinput3 for use on Windows,
# where the locale is called "french" and the tests are run using
# RunTest.bat.
#forbid_utf
/^[\w]+/
\= Expect no match
2014-07-24 14:01:11 -04:00
<20>cole
/^[\w]+/locale=fr_FR
<20>cole
/^[\w]+/
\= Expect no match
2014-07-24 14:01:11 -04:00
<20>cole
/^[\W]+/
<20>cole
/^[\W]+/locale=fr_FR
\= Expect no match
2014-07-24 14:01:11 -04:00
<20>cole
/[\b]/
\b
\= Expect no match
2014-07-24 14:01:11 -04:00
a
/[\b]/locale=fr_FR
\b
\= Expect no match
2014-07-24 14:01:11 -04:00
a
/^\w+/
\= Expect no match
2014-07-24 14:01:11 -04:00
<20>cole
/^\w+/locale=fr_FR
<20>cole
/(.+)\b(.+)/
<20>cole
/(.+)\b(.+)/locale=fr_FR
\= Expect no match
2014-07-24 14:01:11 -04:00
<20>cole
/<2F>cole/i
<20>cole
\= Expect no match
2014-07-24 14:01:11 -04:00
<20>cole
/<2F>cole/i,locale=fr_FR
<20>cole
<20>cole
/\w/I
/\w/I,locale=fr_FR
2014-07-25 05:36:50 -04:00
# All remaining tests are in the fr_FR locale, so set the default.
#pattern locale=fr_FR
/^[\xc8-\xc9]/i
2014-07-24 14:01:11 -04:00
<20>cole
<20>cole
2014-07-25 05:36:50 -04:00
/^[\xc8-\xc9]/
2014-07-24 14:01:11 -04:00
<20>cole
\= Expect no match
2014-07-24 14:01:11 -04:00
<20>cole
2014-07-25 05:36:50 -04:00
/\W+/
2014-07-24 14:01:11 -04:00
>>>\xaa<<<
>>>\xba<<<
2014-07-25 05:36:50 -04:00
/[\W]+/
2014-07-24 14:01:11 -04:00
>>>\xaa<<<
>>>\xba<<<
2014-07-25 05:36:50 -04:00
/[^[:alpha:]]+/
2014-07-24 14:01:11 -04:00
>>>\xaa<<<
>>>\xba<<<
2014-07-25 05:36:50 -04:00
/\w+/
2014-07-24 14:01:11 -04:00
>>>\xaa<<<
>>>\xba<<<
2014-07-25 05:36:50 -04:00
/[\w]+/
2014-07-24 14:01:11 -04:00
>>>\xaa<<<
>>>\xba<<<
2014-07-25 05:36:50 -04:00
/[[:alpha:]]+/
2014-07-24 14:01:11 -04:00
>>>\xaa<<<
>>>\xba<<<
2014-07-25 05:36:50 -04:00
/[[:alpha:]][[:lower:]][[:upper:]]/IB
2014-07-24 14:01:11 -04:00
# End of testinput3