commit
cc905ff2d9
|
|
@ -411,7 +411,7 @@ def text_strip(text, strip=""):
|
||||||
return text
|
return text
|
||||||
|
|
||||||
stripped = re.sub(
|
stripped = re.sub(
|
||||||
fr"[{''.join(map(re.escape, strip))}]", "", text, re.UNICODE
|
fr"[{''.join(map(re.escape, strip))}]", "", text, flags=re.UNICODE
|
||||||
)
|
)
|
||||||
return stripped
|
return stripped
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue