summaryrefslogtreecommitdiffstats
path: root/third_party/rust/regex/tests/misc.rs
blob: 314811e2528cc0398d7459818c611ffc6f947cd7 (plain)
1
2
3
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));