diff options
Diffstat (limited to 'coverage/files.py')
-rw-r--r-- | coverage/files.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/coverage/files.py b/coverage/files.py index 632d6e31..84466504 100644 --- a/coverage/files.py +++ b/coverage/files.py @@ -196,7 +196,7 @@ class PathAliases(object): # either separator. regex_pat = regex_pat.replace(r"\/", r"[\\/]") # We want case-insensitive matching, so add that flag. - regex = re.compile("(?i)" + regex_pat) + regex = re.compile(r"(?i)" + regex_pat) # Normalize the result: it must end with a path separator. result_sep = sep(result) |