Skip to content

Commit

Permalink
modernize-spelling: leary -> leery
Browse files Browse the repository at this point in the history
  • Loading branch information
acabal committed Oct 15, 2024
1 parent a8f0a71 commit bd4f134
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions se/spelling.py
Original file line number Diff line number Diff line change
Expand Up @@ -452,6 +452,7 @@ def modernize_spelling(xhtml: str) -> str:
xhtml = regex.sub(r"\b([Dd])umbfounder", r"\1umbfound", xhtml) # dumbfoundered -> dumbfounded
xhtml = regex.sub(r"\b([Ss])uttee", r"\1ati", xhtml) # suttee -> sati
xhtml = regex.sub(r"\b([Bb])y-by\b", r"\1ye-bye", xhtml) # by-by -> bye-bye
xhtml = regex.sub(r"(?<!O’)\b([Ll])eary\b", r"\1eery", xhtml) # leary -> leery


# Normalize some names
Expand Down

0 comments on commit bd4f134

Please sign in to comment.