feature/ariadne #11
@ -553,7 +553,7 @@ def _has_any(text: str, phrases: tuple[str, ...]) -> bool:
|
||||
if phrase in text:
|
||||
return True
|
||||
else:
|
||||
if re.search(rf"\\b{re.escape(phrase)}\\b", text):
|
||||
if re.search(rf"\b{re.escape(phrase)}\b", text):
|
||||
return True
|
||||
return False
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user