We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b514519 commit 78a12aaCopy full SHA for 78a12aa
ftfy/badness.py
@@ -128,7 +128,7 @@ def _make_weirdness_regex():
128
'[ÂÃĂ][\x80-\x9f€ƒ‚„†‡ˆ‰‹Œ“•˜œŸ¡¢£¤¥¦§¨ª«¬¯°±²³µ¶·¸¹º¼½¾¿ˇ˘˝]|'
129
# Characters we have to be a little more cautious about if they're at
130
# the end of a word, but totally okay to fix in the middle
131
- '[ÂÃĂ][›»‘”©™]\w|'
+ r'[ÂÃĂ][›»‘”©™]\w|'
132
# Similar mojibake of low-numbered characters in MacRoman. Leaving out
133
# most mathy characters because of false positives, but cautiously catching
134
# "√±" (mojibake for "ñ") and "√∂" (mojibake for "ö") in the middle of a
0 commit comments