From 1407b6ad0acdcfe92a14fcff80866549bb9f0ad5 Mon Sep 17 00:00:00 2001 From: Tim Smith Date: Wed, 31 Jul 2024 13:59:54 -0700 Subject: [PATCH] Use word boundaries everywhere in spellcheck patterns Avoid relying on whitespace Signed-off-by: Tim Smith --- .../actions/spelling/line_forbidden.patterns | 28 +++++++++---------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/.github/actions/spelling/line_forbidden.patterns b/.github/actions/spelling/line_forbidden.patterns index c23bad332..2b8defe85 100644 --- a/.github/actions/spelling/line_forbidden.patterns +++ b/.github/actions/spelling/line_forbidden.patterns @@ -15,30 +15,30 @@ # # s.b. Allow list -\s[Ww]hitelist\b -\s[Ww]hitelisting\b -\s[Ww]hitelisted\b -\s[Ww]hite list\b -\s[Ww]hite listing\b -\s[Ww]hite listed\b +\b[Ww]hitelist\b +\b[Ww]hitelisting\b +\b[Ww]hitelisted\b +\b[Ww]hite list\b +\b[Ww]hite listing\b +\b[Ww]hite listed\b # s.b. Block list -\s[Bb]lacklist\b -\s[Bb]lacklisting\b -\s[Bb]lacklisted\b -\s[Bb]lack list\b -\s[Bb]lack listing\b -\s[Bb]lack listed\b +\b[Bb]lacklist\b +\b[Bb]lacklisting\b +\b[Bb]lacklisted\b +\b[Bb]lack list\b +\b[Bb]lack listing\b +\b[Bb]lack listed\b # # Our Terms # # s.b. Mondoo Platform -\sMondoo platform\b +\bMondoo platform\b # s.b. Compliance Hub -\s[Cc]ompliance hub\b +\b[Cc]ompliance hub\b # # Compliance Terms