Skip to main content

regex

Function regex 

Source
pub fn regex<T: Pattern, D, C>(pattern: &str) -> Validator<T, D, C>
Expand description

Validate a string matches the provided regex pattern.