diff options
Diffstat (limited to 'third_party/rust/regex/tests/misc.rs')
-rw-r--r-- | third_party/rust/regex/tests/misc.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/third_party/rust/regex/tests/misc.rs b/third_party/rust/regex/tests/misc.rs new file mode 100644 index 0000000000..314811e252 --- /dev/null +++ b/third_party/rust/regex/tests/misc.rs @@ -0,0 +1,4 @@ +mat!(prefix_literal_match, r"^abc", r"abc", Some((0, 3))); +mat!(prefix_literal_nomatch, r"^abc", r"zabc", None); +mat!(one_literal_edge, r"abc", r"xxxxxab", None); +matiter!(terminates, r"a$", r"a", (0, 1)); |