Searched refs:contains_regex (Results 1 – 5 of 5) sorted by relevance
50 pub fn contains_regex<PatternT: Deref<Target = str>>(pattern: PatternT) -> ContainsRegexMatcher { in contains_regex() function88 let matcher = contains_regex("S.*val"); in contains_regex_matches_string_reference_with_pattern()97 let matcher = contains_regex("Another"); in contains_regex_does_not_match_string_without_pattern()106 let matcher = contains_regex("value"); in contains_regex_matches_owned_string_with_pattern()115 let matcher = contains_regex("value"); in contains_regex_matches_string_reference_with_owned_string()124 verify_that!("Some value".to_string(), contains_regex("value")) in verify_that_works_with_owned_string()129 let matcher = contains_regex("\n"); in contains_regex_displays_quoted_debug_of_pattern()
67 pub use contains_regex_matcher::contains_regex;
902 displays_as(contains_regex( in unordered_elements_are_description_no_full_match_with_map()905 displays_as(contains_regex( in unordered_elements_are_description_no_full_match_with_map()
32 "contains_regex",
129 | [`contains_regex`] | A string containing a substring matching the given regular expression. |172 [`contains_regex`]: matchers::contains_regex