diff options
author | Scott MacVicar <scottmac@php.net> | 2009-11-03 12:15:03 +0000 |
---|---|---|
committer | Scott MacVicar <scottmac@php.net> | 2009-11-03 12:15:03 +0000 |
commit | f03b175f7cb5b1ffc0b4f59d83836beb3794ebfd (patch) | |
tree | 30ce6bf2f30beb84bbbc70d257a2666d032e0398 /ext/pcre/pcrelib/testdata/testinput4 | |
parent | 26e3082abca953a2add5ae02b6fd3f6f301e00ec (diff) | |
download | php-git-f03b175f7cb5b1ffc0b4f59d83836beb3794ebfd.tar.gz |
Update PCRE to 8.00
Diffstat (limited to 'ext/pcre/pcrelib/testdata/testinput4')
-rw-r--r-- | ext/pcre/pcrelib/testdata/testinput4 | 27 |
1 files changed, 22 insertions, 5 deletions
diff --git a/ext/pcre/pcrelib/testdata/testinput4 b/ext/pcre/pcrelib/testdata/testinput4 index e5f61946e2..12f4c7e3b6 100644 --- a/ext/pcre/pcrelib/testdata/testinput4 +++ b/ext/pcre/pcrelib/testdata/testinput4 @@ -1,7 +1,6 @@ -/-- Do not use the \x{} construct except with patterns that have the --/ -/-- /8 option set, because PCRE doesn't recognize them as UTF-8 unless --/ -/-- that option is set. However, the latest Perls recognize them always. --/ - +/-- This set of tests if for UTF-8 support, excluding Unicode properties. It is + compatible with all versions of Perl 5. --/ + /a.b/8 acb a\x7fb @@ -623,4 +622,22 @@ /(?i)[\xc3\xa9\xc3\xbd]|[\xc3\xa9\xc3\xbdA]/8 -/ End of testinput4 / +/^[a\x{c0}]b/8 + \x{c0}b + +/^([a\x{c0}]*?)aa/8 + a\x{c0}aaaa/ + +/^([a\x{c0}]*?)aa/8 + a\x{c0}aaaa/ + a\x{c0}a\x{c0}aaa/ + +/^([a\x{c0}]*)aa/8 + a\x{c0}aaaa/ + a\x{c0}a\x{c0}aaa/ + +/^([a\x{c0}]*)a\x{c0}/8 + a\x{c0}aaaa/ + a\x{c0}a\x{c0}aaa/ + +/-- End of testinput4 --/ |