mirror of
https://github.com/borgbackup/borg.git
synced 2024-11-13 21:59:33 +03:00
Moving the flags of the compiled regex to the front to fix #4137
This commit is contained in:
parent
1183ea91fa
commit
47490c79be
@ -62,4 +62,4 @@ def translate(pat, match_end=r"\Z"):
|
||||
else:
|
||||
res += re.escape(c)
|
||||
|
||||
return res + match_end + "(?ms)"
|
||||
return "(?ms)" + res + match_end
|
||||
|
Loading…
Reference in New Issue
Block a user