Home
last modified time | relevance | path

Searched refs:matiter (Results 1 – 9 of 9) sorted by relevance

/third_party/rust/crates/regex/tests/
Dword_boundary.rs3 matiter!(wb1, r"\b", "");
4 matiter!(wb2, r"\b", "a", (0, 0), (1, 1));
5 matiter!(wb3, r"\b", "ab", (0, 0), (2, 2));
6 matiter!(wb4, r"^\b", "ab", (0, 0));
7 matiter!(wb5, r"\b$", "ab", (2, 2));
8 matiter!(wb6, r"^\b$", "ab");
9 matiter!(wb7, r"\bbar\b", "nobar bar foo bar", (6, 9), (14, 17));
10 matiter!(wb8, r"a\b", "faoa x", (3, 4));
11 matiter!(wb9, r"\bbar", "bar x", (0, 3));
12 matiter!(wb10, r"\bbar", "foo\nbar x", (4, 7));
[all …]
Dmultiline.rs1 matiter!(
9 matiter!(match_multi_2, r"(?m)^$", "abc\ndef\nxyz");
10 matiter!(match_multi_3, r"(?m)^", "abc\ndef\nxyz", (0, 0), (4, 4), (8, 8));
11 matiter!(match_multi_4, r"(?m)$", "abc\ndef\nxyz", (3, 3), (7, 7), (11, 11));
12 matiter!(
20 matiter!(match_multi_6, r"(?m)[a-z]^", "abc\ndef\nxyz");
21 matiter!(
29 matiter!(match_multi_8, r"(?m)$[a-z]", "abc\ndef\nxyz");
30 matiter!(match_multi_9, r"(?m)^$", "", (0, 0));
32 matiter!(
[all …]
Dcrazy.rs58 matiter!(match_start_end_empty, r"^$", "", (0, 0));
59 matiter!(match_start_end_empty_many_1, r"^$^$^$", "", (0, 0));
60 matiter!(match_start_end_empty_many_2, r"^^^$$$", "", (0, 0));
61 matiter!(match_start_end_empty_rev, r"$^", "", (0, 0));
62 matiter!(
73 matiter!(
110 matiter!(match_empty1, r"", "", (0, 0));
111 matiter!(match_empty2, r"", "abc", (0, 0), (1, 1), (2, 2), (3, 3));
112 matiter!(match_empty3, r"()", "abc", (0, 0), (1, 1), (2, 2), (3, 3));
113 matiter!(match_empty4, r"()*", "abc", (0, 0), (1, 1), (2, 2), (3, 3));
[all …]
Dword_boundary_ascii.rs3 matiter!(ascii1, r"(?-u:\b)x(?-u:\b)", "áxβ", (2, 3));
4 matiter!(ascii2, r"(?-u:\B)x(?-u:\B)", "áxβ");
5 matiter!(ascii3, r"(?-u:\B)", "0\u{7EF5E}", (2, 2), (3, 3), (4, 4), (5, 5));
8 matiter!(unicode1, r"\bx\b", "áxβ");
9 matiter!(unicode2, r"\Bx\B", "áxβ", (2, 3));
Dbytes.rs66 matiter!(
72 matiter!(
78 matiter!(
91 matiter!(word_boundary_ascii1, r"(?-u:\B)x(?-u:\B)", "áxβ");
92 matiter!(
Dregression.rs86 matiter!(
99 matiter!(partial_anchor, r"^a|b", "ba", (0, 1));
134 matiter!(reverse_suffix3, r"[0-9][0-9][0-9]000", "153.230000\n", (4, 10));
205 matiter!(
219 matiter!(empty_group_find, r"()Ј01", "zЈ01", (1, 5));
Dword_boundary_unicode.rs3 matiter!(unicode1, r"\bx\b", "áxβ");
4 matiter!(unicode2, r"\Bx\B", "áxβ", (2, 3));
6 matiter!(ascii1, r"(?-u:\b)x(?-u:\b)", "áxβ", (2, 3));
Dmisc.rs4 matiter!(terminates, r"a$", r"a", (0, 1));
Dmacros.rs55 macro_rules! matiter( macro