The offending string literal is converted to a raw string literal so that backslash-escapes are not interpreted. (The alternative would be to backslash-escape the backslashes, "):\\s*(?P<val>.*)\\s*$", but using a raw string is easier to read and is a standard approach to this issue.)
Fixes:
The offending string literal is converted to a raw string literal so that backslash-escapes are not interpreted. (The alternative would be to backslash-escape the backslashes,
"):\\s*(?P<val>.*)\\s*$", but using a raw string is easier to read and is a standard approach to this issue.)