def generate(s, limit=<NUM_LIT:20>):
return _gen(parse(s), limit)<EOL>
Creates a generator that generates all matching strings to a given regular expression

    :param s: Regular expression
    :type s: str
    :param limit: Range limit
    :type limit: int
    :returns: string generator object