pub fn string_regex<Mode>(
regex: &str,
) -> Result<BoxedStrategy<SmartString<Mode>>, Error>where
Mode: 'static + SmartStringMode,
Expand description
Creates a strategy which generates SmartString
s matching the given regular expression.
pub fn string_regex<Mode>(
regex: &str,
) -> Result<BoxedStrategy<SmartString<Mode>>, Error>where
Mode: 'static + SmartStringMode,
Creates a strategy which generates SmartString
s matching the given regular expression.