Skip to content

Commit

Permalink
chore: Update "an" pattern to work with Acronyms
Browse files Browse the repository at this point in the history
  • Loading branch information
holtskinner committed Jul 11, 2024
1 parent f49f23e commit 99ac248
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/actions/spelling/line_forbidden.patterns
Original file line number Diff line number Diff line change
Expand Up @@ -288,4 +288,4 @@
(?!'")[‘’“”]

# "an" should only be before vowels.
\ban\s+(?!F1\b)(?!hour\b)(?!honest\b)(?!LLM\b)(?!MP3\b)(?!NLP\b)([b-df-hj-np-tv-zB-DF-HJ-NP-TV-Z]{1}\w*)
\ban\s+(?![FHLMNRSX][A-Z0-9]+\b)(?!hour\b)(?!honest\b)([b-df-hj-np-tv-zB-DF-HJ-NP-TV-Z]{1}\w*)

0 comments on commit 99ac248

Please sign in to comment.