mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-24 14:25:00 +00:00
look for mentions with trailing :
This commit is contained in:
parent
4a0c0a3913
commit
3171789b1f
1 changed files with 1 additions and 1 deletions
|
@ -744,7 +744,7 @@ class Coder:
|
||||||
words = set(word for word in content.split())
|
words = set(word for word in content.split())
|
||||||
|
|
||||||
# drop sentence punctuation from the end
|
# 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
|
# strip away all kinds of quotes
|
||||||
quotes = "".join(['"', "'", "`"])
|
quotes = "".join(['"', "'", "`"])
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue