diff options
author | Ilia Alshanetsky <iliaa@php.net> | 2010-03-29 11:58:06 +0000 |
---|---|---|
committer | Ilia Alshanetsky <iliaa@php.net> | 2010-03-29 11:58:06 +0000 |
commit | e99039d69269445ea7a786cff6086a314d301da0 (patch) | |
tree | 04b7edc990884d8372aad1eb8f64955f5509fe93 /ext/pcre/pcrelib/testdata/testoutput2 | |
parent | 3e58dee19a68170b7dcda7590720f9f4ef55f999 (diff) | |
download | php-git-e99039d69269445ea7a786cff6086a314d301da0.tar.gz |
Upgraded bundled PCRE to version 8.02.
Diffstat (limited to 'ext/pcre/pcrelib/testdata/testoutput2')
-rw-r--r-- | ext/pcre/pcrelib/testdata/testoutput2 | 71 |
1 files changed, 71 insertions, 0 deletions
diff --git a/ext/pcre/pcrelib/testdata/testoutput2 b/ext/pcre/pcrelib/testdata/testoutput2 index 4b27de0543..c29bd5fd38 100644 --- a/ext/pcre/pcrelib/testdata/testoutput2 +++ b/ext/pcre/pcrelib/testdata/testoutput2 @@ -10596,5 +10596,76 @@ No match 0: xabcxd 1: abcxd 2: cx + +/^(?&t)*+(?(DEFINE)(?<t>.))$/BZ +------------------------------------------------------------------ + Bra + ^ + Once + Brazero + Once + Recurse + KetRmax + Ket + Cond + Cond def + CBra 1 + Any + Ket + Ket + $ + Ket + End +------------------------------------------------------------------ + +/^(?&t)*(?(DEFINE)(?<t>.))$/BZ +------------------------------------------------------------------ + Bra + ^ + Brazero + Once + Recurse + KetRmax + Cond + Cond def + CBra 1 + Any + Ket + Ket + $ + Ket + End +------------------------------------------------------------------ + +/ -- The first four of these are not in the Perl 5.10 test because Perl + documents that the use of \K in assertions is "not well defined". The + last is here because Perl gives the match as "b" rather than "ab". I + believe this to be a Perl bug. --/ + +/(?=a\Kb)ab/ + ab + 0: b + +/(?!a\Kb)ac/ + ac + 0: ac + +/^abc(?<=b\Kc)d/ + abcd + 0: cd + +/^abc(?<!b\Kq)d/ + abcd + 0: abcd + +/(?>a\Kb)z|(ab)/ + ab + 0: ab + 1: ab + +/----------------------/ + +/(?P<L1>(?P<L2>0|)|(?P>L2)(?P>L1))/ +Failed: recursive call could loop indefinitely at offset 31 /-- End of testinput2 --/ |