Compiled regular expression object.
Initialize self. See help(type(self)) for accurate signature.
Return a list of all non-overlapping matches of pattern in string.
Return an iterator over all non-overlapping matches for the RE pattern in string.
Matches against all of the string.
Matches zero or more characters at the beginning of the string.
Scan through string looking for a match, and return a corresponding match object instance.
Split string by the occurrences of pattern.
Return the string obtained by replacing the leftmost non-overlapping occurrences of pattern in string by the replacement repl.
Return the tuple (new_string, number_of_subs_made) found by replacing the leftmost non-overlapping occurrences of pattern with the replacement repl.
The regex matching flags.
A dictionary mapping group names to group numbers.
The number of capturing groups in the pattern.
The pattern string from which the RE object was compiled.