summaryrefslogtreecommitdiff
path: root/testdata
diff options
context:
space:
mode:
Diffstat (limited to 'testdata')
-rw-r--r--testdata/testinput16
-rw-r--r--testdata/testinput24
-rw-r--r--testdata/testoutput18
-rw-r--r--testdata/testoutput237
4 files changed, 55 insertions, 0 deletions
diff --git a/testdata/testinput1 b/testdata/testinput1
index b24f900..5c65ed6 100644
--- a/testdata/testinput1
+++ b/testdata/testinput1
@@ -4285,4 +4285,10 @@
/(?<=a\v)c/
a\nc
+/(?(?=c)c|d)++Y/
+ XcccddYX
+
+/(?(?=c)c|d)*+Y/
+ XcccddYX
+
/-- End of testinput1 --/
diff --git a/testdata/testinput2 b/testdata/testinput2
index ae822de..61bbeba 100644
--- a/testdata/testinput2
+++ b/testdata/testinput2
@@ -4003,4 +4003,8 @@ AbcdCBefgBhiBqz
*** Failers
aAz
+/(?(?=c)c|d)++Y/BZ
+
+/(?(?=c)c|d)*+Y/BZ
+
/-- End of testinput2 --/
diff --git a/testdata/testoutput1 b/testdata/testoutput1
index 0c2e84e..54c0bf2 100644
--- a/testdata/testoutput1
+++ b/testdata/testoutput1
@@ -7004,4 +7004,12 @@ No match
a\nc
0: c
+/(?(?=c)c|d)++Y/
+ XcccddYX
+ 0: cccddY
+
+/(?(?=c)c|d)*+Y/
+ XcccddYX
+ 0: cccddY
+
/-- End of testinput1 --/
diff --git a/testdata/testoutput2 b/testdata/testoutput2
index 17e28bb..58874a7 100644
--- a/testdata/testoutput2
+++ b/testdata/testoutput2
@@ -12554,4 +12554,41 @@ No match
aAz
No match
+/(?(?=c)c|d)++Y/BZ
+------------------------------------------------------------------
+ Bra
+ BraPos
+ Cond
+ Assert
+ c
+ Ket
+ c
+ Alt
+ d
+ Ket
+ KetRpos
+ Y
+ Ket
+ End
+------------------------------------------------------------------
+
+/(?(?=c)c|d)*+Y/BZ
+------------------------------------------------------------------
+ Bra
+ Braposzero
+ BraPos
+ Cond
+ Assert
+ c
+ Ket
+ c
+ Alt
+ d
+ Ket
+ KetRpos
+ Y
+ Ket
+ End
+------------------------------------------------------------------
+
/-- End of testinput2 --/