From 8a1cdc1492bf642196397caec9fe56e9fb521eb8 Mon Sep 17 00:00:00 2001 From: Jordan Suchow Date: Sun, 16 May 2021 21:07:41 -0400 Subject: [PATCH] Fix the uncomparables check --- proselint/checks/uncomparables/misc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proselint/checks/uncomparables/misc.py b/proselint/checks/uncomparables/misc.py index 4db01c19a..26d17b37f 100644 --- a/proselint/checks/uncomparables/misc.py +++ b/proselint/checks/uncomparables/misc.py @@ -114,7 +114,7 @@ def check(text): ("more", "possible") # FIXME ] - all = [r"\\b" + i[0] + r"\s" + i[1] + r"[\W$]" for i in itertools.product( + all = [i[0] + r"\s" + i[1] + r"[\W$]" for i in itertools.product( comparators, uncomparables) if i not in exceptions] occ = re.finditer("|".join(all), text.lower())