[][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 SmartStrings matching the given regular expression.