summaryrefslogtreecommitdiff
path: root/ext/pcre/pcrelib/testdata/testoutput4
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2010-03-29 11:58:06 +0000
committerIlia Alshanetsky <iliaa@php.net>2010-03-29 11:58:06 +0000
commitb26e261e3c6b0a8f0e1366c2400556aa9bb7ef06 (patch)
tree9ffd731a8eeaeac84faa557035c496e9c18b0ed1 /ext/pcre/pcrelib/testdata/testoutput4
parent82d44802be26d6fb041322c1fe4218cd6120e926 (diff)
downloadphp-git-b26e261e3c6b0a8f0e1366c2400556aa9bb7ef06.tar.gz
Upgraded bundled PCRE to version 8.02.
Diffstat (limited to 'ext/pcre/pcrelib/testdata/testoutput4')
-rw-r--r--ext/pcre/pcrelib/testdata/testoutput444
1 files changed, 37 insertions, 7 deletions
diff --git a/ext/pcre/pcrelib/testdata/testoutput4 b/ext/pcre/pcrelib/testdata/testoutput4
index e67a95895f..128afe4386 100644
--- a/ext/pcre/pcrelib/testdata/testoutput4
+++ b/ext/pcre/pcrelib/testdata/testoutput4
@@ -1,9 +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 --/
-No match
-/-- that option is set. However, the latest Perls recognize them always. --/
-No match
-
+/-- 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
0: acb
@@ -1089,4 +1086,37 @@ No match
/(?i)[\xc3\xa9\xc3\xbd]|[\xc3\xa9\xc3\xbdA]/8
-/ End of testinput4 /
+/^[a\x{c0}]b/8
+ \x{c0}b
+ 0: \x{c0}b
+
+/^([a\x{c0}]*?)aa/8
+ a\x{c0}aaaa/
+ 0: a\x{c0}aa
+ 1: a\x{c0}
+
+/^([a\x{c0}]*?)aa/8
+ a\x{c0}aaaa/
+ 0: a\x{c0}aa
+ 1: a\x{c0}
+ a\x{c0}a\x{c0}aaa/
+ 0: a\x{c0}a\x{c0}aa
+ 1: a\x{c0}a\x{c0}
+
+/^([a\x{c0}]*)aa/8
+ a\x{c0}aaaa/
+ 0: a\x{c0}aaaa
+ 1: a\x{c0}aa
+ a\x{c0}a\x{c0}aaa/
+ 0: a\x{c0}a\x{c0}aaa
+ 1: a\x{c0}a\x{c0}a
+
+/^([a\x{c0}]*)a\x{c0}/8
+ a\x{c0}aaaa/
+ 0: a\x{c0}
+ 1:
+ a\x{c0}a\x{c0}aaa/
+ 0: a\x{c0}a\x{c0}
+ 1: a\x{c0}
+
+/-- End of testinput4 --/