summaryrefslogtreecommitdiff
path: root/tests/full/nibble/regex.nb
diff options
context:
space:
mode:
Diffstat (limited to 'tests/full/nibble/regex.nb')
-rw-r--r--tests/full/nibble/regex.nb5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/full/nibble/regex.nb b/tests/full/nibble/regex.nb
new file mode 100644
index 0000000..4aa98a7
--- /dev/null
+++ b/tests/full/nibble/regex.nb
@@ -0,0 +1,5 @@
+let opt x = _ | x;
+let plus x = !(/plus/ x . opt plus);
+let star x = !(/star/ opt (x . star));
+
+match plus "a" . star "b";