Function string_regex

fn string_regex(regex: &str) -> Result<RegexGeneratorStrategy<crate::std_facade::String>, Error>

Creates a strategy which generates strings matching the given regular expression.

If you don't need error handling and aren't limited by setup time, it is also possible to directly use a &str as a strategy with the same effect.