Skip to content

Commit

Permalink
modernize-spelling: annexe -> annex
Browse files Browse the repository at this point in the history
  • Loading branch information
acabal committed Nov 15, 2024
1 parent edb1d59 commit 8d29717
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 @@ -460,6 +460,7 @@ def modernize_spelling(xhtml: str) -> str:
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
xhtml = regex.sub(r"’([Ff])lu\b", r"\1lu", xhtml) # 'flu -> flu
xhtml = regex.sub(r"\b([Aa])nnexe\b", r"\1nnex", xhtml) # annexe -> annex


# Normalize some names
Expand Down

0 comments on commit 8d29717

Please sign in to comment.