The regexp in Python have matching operations similar to those found in Perl.
Articles Related
Plugin combo - Component related: Nothing was found.
Backslash
the backslash character ('\') indicate special forms or allow special characters
for example, to match a literal backslash, one might have to write '\\\\' as the pattern string, because the regular expression must be \\, and each backslash must be expressed as
inside a regular Python string literal.
backslashes are not handled in any special way in a string literal prefixed with 'r'. So r“\n” is a two-character string containing '\' and 'n', while “\n” is a one-character string containing a newline.