version 1.1.1.3, 2012/10/09 09:19:18
|
version 1.1.1.5, 2014/06/15 19:46:05
|
Line 89
|
Line 89
|
/(\p{Yi}{0,3}+\277)*/ |
/(\p{Yi}{0,3}+\277)*/ |
|
|
/\p{Zl}{2,3}+/8BZ |
/\p{Zl}{2,3}+/8BZ |
\xe2\x80\xa8\xe2\x80\xa8 |
|
\x{2028}\x{2028}\x{2028} |
\x{2028}\x{2028}\x{2028} |
|
|
/\p{Zl}/8BZ |
/\p{Zl}/8BZ |
Line 100
|
Line 100
|
|
|
/\p{Cc}{2}+/8BZ |
/\p{Cc}{2}+/8BZ |
|
|
|
/^\p{Cf}/8 |
|
\x{180e} |
|
\x{061c} |
|
\x{2066} |
|
\x{2067} |
|
\x{2068} |
|
\x{2069} |
|
|
/^\p{Cs}/8 |
/^\p{Cs}/8 |
\?\x{dfff} |
\?\x{dfff} |
** Failers |
** Failers |
\x{09f} |
\x{09f} |
|
|
|
/^\p{Mn}/8 |
|
\x{1a1b} |
|
|
|
/^\p{Pe}/8 |
|
\x{2309} |
|
\x{230b} |
|
|
|
/^\p{Ps}/8 |
|
\x{2308} |
|
\x{230a} |
|
|
/^\p{Sc}+/8 |
/^\p{Sc}+/8 |
$\x{a2}\x{a3}\x{a4}\x{a5}\x{a6} |
$\x{a2}\x{a3}\x{a4}\x{a5}\x{a6} |
\x{9f2} |
\x{9f2} |
Line 116
|
Line 135
|
\ \ |
\ \ |
\x{a0} |
\x{a0} |
\x{1680} |
\x{1680} |
\x{180e} |
|
\x{2000} |
\x{2000} |
\x{2001} |
\x{2001} |
** Failers |
** Failers |
\x{2028} |
\x{2028} |
\x{200d} |
\x{200d} |
|
|
/-- These four are here rather than in test 6 because Perl has problems with | /-- These are here rather than in test 6 because Perl has problems with |
the negative versions of the properties. --/ | the negative versions of the properties and behaves has changed how |
| it behaves for caseless matching. --/ |
|
|
/\p{^Lu}/8i |
/\p{^Lu}/8i |
1234 |
1234 |
Line 149
|
Line 168
|
a |
a |
\x{1d00} |
\x{1d00} |
|
|
|
/\p{Lu}/8i |
|
A |
|
aZ |
|
** Failers |
|
abc |
|
|
/[\x{c0}\x{391}]/8i |
/[\x{c0}\x{391}]/8i |
\x{c0} |
\x{c0} |
\x{e0} |
\x{e0} |
Line 195 of case for anything other than the ASCII letters. --/
|
Line 220 of case for anything other than the ASCII letters. --/
|
\x{c0} |
\x{c0} |
\x{e0} |
\x{e0} |
|
|
/-- This should be Perl-compatible but Perl 5.11 gets \x{300} wrong. --/8 |
|
|
|
/^\X/8 |
|
A |
|
A\x{300}BC |
|
A\x{300}\x{301}\x{302}BC |
|
*** Failers |
|
\x{300} |
|
|
|
/-- These are PCRE's extra properties to help with Unicodizing \d etc. --/ |
/-- These are PCRE's extra properties to help with Unicodizing \d etc. --/ |
|
|
/^\p{Xan}/8 |
/^\p{Xan}/8 |
Line 621 of case for anything other than the ASCII letters. --/
|
Line 637 of case for anything other than the ASCII letters. --/
|
/^\X+?Z/8 |
/^\X+?Z/8 |
AA\P |
AA\P |
AA\P\P |
AA\P\P |
|
|
|
/A\x{3a3}B/8iDZ |
|
|
|
/\x{3a3}B/8iDZ |
|
|
|
/[\x{3a3}]/8iBZ |
|
|
|
/[^\x{3a3}]/8iBZ |
|
|
|
/[\x{3a3}]+/8iBZ |
|
|
|
/[^\x{3a3}]+/8iBZ |
|
|
|
/a*\x{3a3}/8iBZ |
|
|
|
/\x{3a3}+a/8iBZ |
|
|
|
/\x{3a3}*\x{3c2}/8iBZ |
|
|
|
/\x{3a3}{3}/8i+ |
|
\x{3a3}\x{3c3}\x{3c2}\x{3a3}\x{3c3}\x{3c2} |
|
|
|
/\x{3a3}{2,4}/8i+ |
|
\x{3a3}\x{3c3}\x{3c2}\x{3a3}\x{3c3}\x{3c2} |
|
|
|
/\x{3a3}{2,4}?/8i+ |
|
\x{3a3}\x{3c3}\x{3c2}\x{3a3}\x{3c3}\x{3c2} |
|
|
|
/\x{3a3}+./8i+ |
|
\x{3a3}\x{3c3}\x{3c2}\x{3a3}\x{3c3}\x{3c2} |
|
|
|
/\x{3a3}++./8i+ |
|
** Failers |
|
\x{3a3}\x{3c3}\x{3c2}\x{3a3}\x{3c3}\x{3c2} |
|
|
|
/\x{3a3}*\x{3c2}/8iBZ |
|
|
|
/[^\x{3a3}]*\x{3c2}/8iBZ |
|
|
|
/[^a]*\x{3c2}/8iBZ |
|
|
|
/ist/8iBZ |
|
ikt |
|
|
|
/is+t/8i |
|
iSs\x{17f}t |
|
ikt |
|
|
|
/is+?t/8i |
|
ikt |
|
|
|
/is?t/8i |
|
ikt |
|
|
|
/is{2}t/8i |
|
iskt |
|
|
|
/-- This property is a PCRE special --/ |
|
|
|
/^\p{Xuc}/8 |
|
$abc |
|
@abc |
|
`abc |
|
\x{1234}abc |
|
** Failers |
|
abc |
|
|
|
/^\p{Xuc}+/8 |
|
$@`\x{a0}\x{1234}\x{e000}** |
|
** Failers |
|
\x{9f} |
|
|
|
/^\p{Xuc}+?/8 |
|
$@`\x{a0}\x{1234}\x{e000}** |
|
** Failers |
|
\x{9f} |
|
|
|
/^\p{Xuc}+?\*/8 |
|
$@`\x{a0}\x{1234}\x{e000}** |
|
** Failers |
|
\x{9f} |
|
|
|
/^\p{Xuc}++/8 |
|
$@`\x{a0}\x{1234}\x{e000}** |
|
** Failers |
|
\x{9f} |
|
|
|
/^\p{Xuc}{3,5}/8 |
|
$@`\x{a0}\x{1234}\x{e000}** |
|
** Failers |
|
\x{9f} |
|
|
|
/^\p{Xuc}{3,5}?/8 |
|
$@`\x{a0}\x{1234}\x{e000}** |
|
** Failers |
|
\x{9f} |
|
|
|
/^[\p{Xuc}]/8 |
|
$@`\x{a0}\x{1234}\x{e000}** |
|
** Failers |
|
\x{9f} |
|
|
|
/^[\p{Xuc}]+/8 |
|
$@`\x{a0}\x{1234}\x{e000}** |
|
** Failers |
|
\x{9f} |
|
|
|
/^\P{Xuc}/8 |
|
abc |
|
** Failers |
|
$abc |
|
@abc |
|
`abc |
|
\x{1234}abc |
|
|
|
/^[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of testinput7 --/ |