word_regex

Function word_regex 

Source
pub fn word_regex(to_match: &str) -> Regex
Expand description

Returns compiled word boundary regex.

ยงPanics

Panics if an invalid wildcard regex is provided.