Searched refs:contains_regex (Results 1 – 5 of 5) sorted by relevance
55 pub fn contains_regex<ActualT: ?Sized, PatternT: Deref<Target = str>>( in contains_regex() function95 use super::{contains_regex, ContainsRegexMatcher};101 let matcher = contains_regex("S.*val"); in contains_regex_matches_string_reference_with_pattern()110 let matcher = contains_regex("Another"); in contains_regex_does_not_match_string_without_pattern()119 let matcher = contains_regex("value"); in contains_regex_matches_owned_string_with_pattern()128 let matcher = contains_regex("value"); in contains_regex_matches_string_reference_with_owned_string()137 verify_that!("Some value".to_string(), contains_regex("value")) in verify_that_works_with_owned_string()142 let matcher: ContainsRegexMatcher<&str> = contains_regex("\n"); in contains_regex_displays_quoted_debug_of_pattern()
64 pub use contains_regex_matcher::contains_regex;
1118 displays_as(contains_regex( in unordered_elements_are_description_no_full_match_with_map()1120 )).and(displays_as(contains_regex( in unordered_elements_are_description_no_full_match_with_map()
121 | [`contains_regex`] | A string containing a substring matching the given regular expression. |164 [`contains_regex`]: matchers::contains_regex
32 "contains_regex",