Skip to main content

is_match_pattern

Function is_match_pattern 

Source
pub fn is_match_pattern(pat: &str) -> Option<String>
Expand description

pat without the repetitions at either end that can match nothing (.*foo.* -> foo): same is_match, but since regex 1.13.1 a leading .* disables its reverse suffix/inner search.