summaryrefslogtreecommitdiff
path: root/ext/pcre/pcrelib/testdata/testinput4
diff options
context:
space:
mode:
authorScott MacVicar <scottmac@php.net>2009-11-03 12:15:03 +0000
committerScott MacVicar <scottmac@php.net>2009-11-03 12:15:03 +0000
commitf03b175f7cb5b1ffc0b4f59d83836beb3794ebfd (patch)
tree30ce6bf2f30beb84bbbc70d257a2666d032e0398 /ext/pcre/pcrelib/testdata/testinput4
parent26e3082abca953a2add5ae02b6fd3f6f301e00ec (diff)
downloadphp-git-f03b175f7cb5b1ffc0b4f59d83836beb3794ebfd.tar.gz
Update PCRE to 8.00
Diffstat (limited to 'ext/pcre/pcrelib/testdata/testinput4')
-rw-r--r--ext/pcre/pcrelib/testdata/testinput427
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 --/