Also the character set needs to include `\\` or else invalid character escapes will end up matching anyway.