From: Otto Moerbeek Date: Mon, 21 Jul 2025 11:30:56 +0000 (+0200) Subject: Fix spell checking X-Git-Tag: rec-5.4.0-alpha0~4^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F15883%2Fhead;p=thirdparty%2Fpdns.git Fix spell checking --- diff --git a/.github/actions/spell-check/candidate.patterns b/.github/actions/spell-check/candidate.patterns index 30a01da90..10aa444c8 100644 --- a/.github/actions/spell-check/candidate.patterns +++ b/.github/actions/spell-check/candidate.patterns @@ -759,7 +759,7 @@ W/"[^"]+" # Library prefix # e.g., `lib`+`archive`, `lib`+`raw`, `lib`+`unwind` # (ignores some words that happen to start with `lib`) -(?:\b|_)[Ll]ib(?:re(?=office)|)(?!era[lt]|ero|erty|rar(?:i(?:an|es)|y))(?=[a-z]) +#(?:\b|[_=])[Ll]ib(?:re(?=office|ssl)|)(?!era[lt]|ero|erty|rar(?:i(?:an|es)|y))(?=[a-z]) # iSCSI iqn (approximate regex) \biqn\.[0-9]{4}-[0-9]{2}(?:[\.-][a-z][a-z0-9]*)*\b diff --git a/.github/actions/spell-check/patterns.txt b/.github/actions/spell-check/patterns.txt index ad4098423..016010b00 100644 --- a/.github/actions/spell-check/patterns.txt +++ b/.github/actions/spell-check/patterns.txt @@ -58,7 +58,7 @@ DoH # Library prefix # e.g., `lib`+`archive`, `lib`+`raw`, `lib`+`unwind` # (ignores some words that happen to start with `lib`) -(?:\b|_)[Ll]ib(?:re(?=office)|)(?!era[lt]|ero|erty|rar(?:i(?:an|es)|y))(?=[a-z]) +(?:\b|_)[Ll]ib(?:re(?=office|ssl)|)(?!era[lt]|ero|erty|rar(?:i(?:an|es)|y))(?=[a-z]) # hit-count: 124 file-count: 50 # Repeated letters @@ -162,7 +162,7 @@ DoH \b(?:(?:[Ll]og(?:g(?=[a-z])|)|[Ss]ign)(?:ed|ing)?) in to\b # is (comparator) higher than -#(?:record is|(?:a (?:bit|lot)|much)) higher than\b +(?:record is|(?:a (?:bit|lot)|much)|of success) higher than\b # to opt in \bto opt in\b