diff --git a/aider/getinput.py b/aider/getinput.py index 76315146e..85bc4fb11 100644 --- a/aider/getinput.py +++ b/aider/getinput.py @@ -26,7 +26,7 @@ class FileContentCompleter(Completer): with open(fname, "r") as f: content = f.read() - for word in re.split(r"\W+", content): + for word in re.split(r'\W+', content): if word.startswith(last_word): yield Completion(word, start_position=-len(last_word))