Language.Alex.Arbitrary
Description
Random text that a regex matches.
fixedString :: Regex -> Maybe String Source #
Returns the only string a regex matches, if it matches just one.
genRegex :: Regex -> Gen String Source #
Makes text that the regex matches. Repetitions are short: at most 5 times.