10th August 02:13
re and escape character
there's always the manual:
Compile a regular expression pattern into a regular expression object,
which can be used for matching using its match() and search() methods,
The expression's behaviour can be modified by specifying a flags value.
Make the "." special character match any character at all, including a
newline; without this flag, "." will match anything except a newline. /.../