Skip to content

Commit 7f6752e

Browse files
committed
Ignore _ underscore when doing lookups to make repeated lookups easier
1 parent 9413e4b commit 7f6752e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vocabsieve/tools.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -491,4 +491,4 @@ def process_defi_anki(plaintext: str, markdown: str, defi: Definition, source: D
491491

492492

493493
def remove_punctuations(s: str) -> str:
494-
return re.sub('[\\?\\.!«»…,()\\[\\]]*', "", s)
494+
return re.sub('[\\?\\.!«»…,()\\[\\]]*_', "", s)

0 commit comments

Comments
 (0)