From e2ede1a43e7bda87a7ee8e169e0a617c99cc4e50 Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Thu, 16 Nov 2023 11:11:16 -0500 Subject: [PATCH] Further adjust regex since apparently \b would not match at the beginning of e.g. [Uu]ser --- .codespellrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.codespellrc b/.codespellrc index 235c994f..3a544e78 100644 --- a/.codespellrc +++ b/.codespellrc @@ -5,7 +5,7 @@ check-hidden = true # Ignore all acronyms etc as plenty e.g. in fail2ban/server/strptime.py # Try to identify incomplete words which are part of a regex, hence having [] at the beginning # Ignore all urls as something with :// in it -ignore-regex = (\b([A-Z][A-Z][A-Z]+|\[[a-zA-Z]+\][a-z]+|gir\.st)\b)|[a-z]+://\S+ +ignore-regex = (\b([A-Z][A-Z][A-Z]+|gir\.st)\b)|\[[a-zA-Z]+\][a-z]+\b|[a-z]+://\S+ # some oddly named variables, some names, etc # wee -- comes in regex etc for weeks ignore-words-list = theis,timere,alls,wee,wight,ans