summaryrefslogtreecommitdiff
path: root/testdata/testoutput18
diff options
context:
space:
mode:
Diffstat (limited to 'testdata/testoutput18')
-rw-r--r--testdata/testoutput1811
1 files changed, 9 insertions, 2 deletions
diff --git a/testdata/testoutput18 b/testdata/testoutput18
index 0a5ffff..294b121 100644
--- a/testdata/testoutput18
+++ b/testdata/testoutput18
@@ -105,14 +105,18 @@ No match: POSIX code 17: match failed
ab\ncd
0: ab\x0acd
-/a(b)c/no_auto_capture
+/a(b)c/posix_nosub
abc
Matched with REG_NOSUB
-/a(?P<name>b)c/no_auto_capture
+/a(?P<name>b)c/posix_nosub
abc
Matched with REG_NOSUB
+/(a)\1/posix_nosub
+ zaay
+Matched with REG_NOSUB
+
/a?|b?/
abc
0: a
@@ -138,6 +142,9 @@ No match: POSIX code 17: match failed
Failed: POSIX code 9: bad escape sequence at offset 3
"(?(?C)"
+Failed: POSIX code 11: unbalanced () at offset 6
+
+"(?(?C))"
Failed: POSIX code 3: pattern error at offset 2
/abcd/substitute_extended