diff options
author | Greg Brown <gmb60@cam.ac.uk> | 2021-05-06 19:40:59 +0100 |
---|---|---|
committer | Greg Brown <gmb60@cam.ac.uk> | 2021-05-06 19:40:59 +0100 |
commit | dfc08ff2c6580bbeb3951b223e0332546ba3b0d9 (patch) | |
tree | 60597dd9492b9c2dfa10ea610289f143dd3e41b7 /tests/full/nibble/regex_fix.nb | |
parent | ef485d6f3e4df6e1a424ba3797388fa0bba6eb2e (diff) |
Introduce lambda expressions.
Diffstat (limited to 'tests/full/nibble/regex_fix.nb')
-rw-r--r-- | tests/full/nibble/regex_fix.nb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/full/nibble/regex_fix.nb b/tests/full/nibble/regex_fix.nb new file mode 100644 index 0000000..54daf61 --- /dev/null +++ b/tests/full/nibble/regex_fix.nb @@ -0,0 +1,4 @@ +let opt x = _ | x; +let ws = !(/star/ opt (" " . star)); + +match !(/rec/ "a" . opt ("." . ws . rec)); |