Skip to content

Commit

Permalink
add spell checking exceptions for URLs and hex digits
Browse files Browse the repository at this point in the history
  • Loading branch information
pdaoust committed Feb 2, 2024
1 parent 21d69a9 commit 71e41e0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/actions/spelling/patterns.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
(?:\b(?:https?|ftp|file)://)[-A-Za-z0-9+&@#/%?=~_|!:,.;]+[-A-Za-z0-9+&@#/%=~_|]
(?:[\\0][xX]|\\u|[uU]\+|#x?|\%23)[0-9_a-fA-FgGrR]*?[a-fA-FgGrR]{2,}[0-9_a-fA-FgGrR]*(?:[uUlL]{0,3}|[iu]\d+)\b
\burl\([^)]+\)

0 comments on commit 71e41e0

Please sign in to comment.