Skip to content

Commit

Permalink
Modernize brief case to briefcase
Browse files Browse the repository at this point in the history
  • Loading branch information
robinwhittleton authored and acabal committed Oct 21, 2024
1 parent bd4f134 commit 773b73b
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 @@ -453,6 +453,7 @@ def modernize_spelling(xhtml: str) -> str:
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
xhtml = regex.sub(r"\b([Bb])rief case", r"\1riefcase", xhtml) # brief case -> briefcase


# Normalize some names
Expand Down

0 comments on commit 773b73b

Please sign in to comment.