summaryrefslogtreecommitdiff
path: root/libregex/test/capture.myr
diff options
context:
space:
mode:
Diffstat (limited to 'libregex/test/capture.myr')
-rw-r--r--libregex/test/capture.myr17
1 files changed, 0 insertions, 17 deletions
diff --git a/libregex/test/capture.myr b/libregex/test/capture.myr
deleted file mode 100644
index f270428..0000000
--- a/libregex/test/capture.myr
+++ /dev/null
@@ -1,17 +0,0 @@
-use std
-use "testmatch.use"
-
-const main = {
- testmatch("A(.*)", "Abc", `std.Some ["bc"][:])
- testmatch("A(.*)e", "Abcde", `std.Some ["bcd"][:])
- testmatch("(a|b)+", "abab", `std.Some ["b"][:])
- testmatch("A(b(.*)d)e", "Abcde", `std.Some [
- "bcd",
- "c"
- ][:])
- testmatch("(a?)(a*)(a?)", "aaaa", `std.Some [
- "a",
- "aaa",
- ""
- ][:])
-}