Skip to main content

regex

Function regex 

Source
pub fn regex(re: Regex) -> StringValidator
Expand description

Create a string validator anchored to the given regex pattern.