mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-29 00:35:00 +00:00
Add '?' to set of punctuations to strip for file mentions
This commit is contained in:
parent
16332b285f
commit
3f63a64254
1 changed files with 1 additions and 1 deletions
|
@ -1471,7 +1471,7 @@ class Coder:
|
|||
words = set(word for word in content.split())
|
||||
|
||||
# drop sentence punctuation from the end
|
||||
words = set(word.rstrip(",.!;:") for word in words)
|
||||
words = set(word.rstrip(",.!;:?") for word in words)
|
||||
|
||||
# strip away all kinds of quotes
|
||||
quotes = "".join(['"', "'", "`"])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue