238
238
prefix=r'(?:.*/)?(?!.*/)')
241
242
def normalize_pattern(pattern):
242
243
"""Converts backslashes in path patterns to forward slashes.
244
245
Doesn't normalize regular expressions - they may contain escapes.
246
248
if not pattern.startswith('RE:'):