Function string_regex

Source
pub fn string_regex<Mode>(
    regex: &str,
) -> Result<BoxedStrategy<SmartString<Mode>>, Error>
where Mode: 'static + SmartStringMode,
Expand description

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