Regular expression objects are used to match or decompose strings based on patterns.
Compile a regular expression.
Matches a string against a pre-compiled regular expression pattern.
Returns a matched substring from a regex handle.
Gets all matches from a string against a pre-compiled regular expression pattern.
Returns number of matches
Returns number of captures for a match
Returns the string offset of a match.