X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?p=pcre3.git;a=blobdiff_plain;f=testdata%2Ftestoutput2;h=16e5c6804af3955552b52d76d5f3b068d6156ddb;hp=cfb446ece60f1e2a8d2a7c829f42dda198ff88cf;hb=d9aaaf6dc5a7494b04e600f1e7d3da561aff0daf;hpb=e5f50570097752e9d8d68df700473362e385bda6 diff --git a/testdata/testoutput2 b/testdata/testoutput2 index cfb446e..16e5c68 100644 --- a/testdata/testoutput2 +++ b/testdata/testoutput2 @@ -14093,6 +14093,30 @@ Failed: malformed number or name after (?( at offset 4 /(?(R&6yh)abc)/ Failed: group name must start with a non-digit at offset 5 +/(((a\2)|(a*)\g<-1>))*a?/BZ +------------------------------------------------------------------ + Bra + Brazero + SCBra 1 + Once + CBra 2 + CBra 3 + a + \2 + Ket + Alt + CBra 4 + a* + Ket + Recurse + Ket + Ket + KetRmax + a?+ + Ket + End +------------------------------------------------------------------ + /-- Test the ugly "start or end of word" compatibility syntax --/ /[[:<:]]red[[:>:]]/BZ @@ -14149,4 +14173,23 @@ Failed: parentheses are too deeply nested (stack check) at offset 0 /(((((a)))))/Q ** Missing 0 or 1 after /Q +"((?2){0,1999}())?" + +/((?+1)(\1))/BZ +------------------------------------------------------------------ + Bra + Once + CBra 1 + Recurse + CBra 2 + \1 + Ket + Ket + Ket + Ket + End +------------------------------------------------------------------ + +"(?J)(?'d'(?'d'\g{d}))" + /-- End of testinput2 --/