module(name[, doc])
Create a module object. The name must be a string; the optional doc argument can have any type.
Creates a generator that generates all matching strings to a given regular expression
Parameters: | |
---|---|
Returns: | string generator object |
Counts all matching strings to a given regular expression
Parameters: | |
---|---|
Return type: | int |
Returns: | number of matching strings |
Regular expression parser
Parameters: | s (str) – Regular expression |
---|---|
Return type: | list |
Returns a random matching string to a given regular expression