diff --git a/tasks/easy/strings/more_than_medium.toml b/tasks/easy/strings/more_than_medium.toml index 749cece..903579f 100644 --- a/tasks/easy/strings/more_than_medium.toml +++ b/tasks/easy/strings/more_than_medium.toml @@ -22,7 +22,7 @@ limits = """ solution = """ def solution(sentence: str) -> list: import re - words = re.findall(r'[\w-]+', sentence) + words = re.findall(r'[\\w-]+', sentence) if not words: return ["there is no result!"]