[−][src]Function smartstring::proptest::string_regex
pub fn string_regex<Mode: SmartStringMode>(
regex: &str
) -> Result<BoxedStrategy<SmartString<Mode>>, Error> where
Mode: 'static,
Creates a strategy which generates SmartString
s matching the given regular expression.