D | api.rs | 4 assert_eq!(vec![(0, 0)], findall!(re, "")); in empty_regex_empty_match() 10 assert_eq!(vec![(0, 0), (1, 1), (2, 2), (3, 3)], findall!(re, "abc")); in empty_regex_nonempty_match() 16 assert_eq!(vec![(0, 0), (1, 2), (3, 4)], findall!(re, "a1b2")); in one_zero_length_match() 24 findall!(re, "a1bbb2") in many_zero_length_match() 33 findall!(re, "a12b3c") in many_sequential_zero_length_match() 40 assert_eq!(vec![(0, 1), (1, 2)], findall!(re, "[]")); in quoted_bracket_set() 42 assert_eq!(vec![(0, 1), (1, 2)], findall!(re, "[]")); in quoted_bracket_set() 48 assert_eq!(vec![(0, 1), (1, 2)], findall!(re, "[]")); in first_range_starts_with_left_bracket() 54 assert_eq!(vec![(0, 1), (1, 2)], findall!(re, "[]")); in range_ends_with_escape() 60 assert_eq!(vec![(0, 0), (1, 1), (2, 2), (3, 3)], findall!(re, "abc")); in empty_match_find_iter()
|