Skip to main content

build_regex

Function build_regex 

Source
pub fn build_regex(pattern: &str) -> Result<Regex, FormatParseError>
Expand description

Build a regex from a pattern string with DOTALL flag Includes timeout protection against ReDoS attacks