Skip to content

Commit

Permalink
Yes, this is how it should work
Browse files Browse the repository at this point in the history
  • Loading branch information
alekssamos committed Sep 9, 2023
1 parent 6aa5775 commit 5c47490
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addon/globalPlugins/textnormalizer/textnormalizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ def CheckText(self, text, change_case = True):
"""

# сразу убираем символ "мягкий перенос"
text = text.replace(chr(173), "")
text = text.replace("\u200d", "").replace(chr(173), "").replace(chr(8205), "")
newText = text
words = re.findall("[\\w\\@#]+", newText, re.IGNORECASE)
words2 = words.copy()
Expand Down

0 comments on commit 5c47490

Please sign in to comment.