From 81119ace94c6331bec6e1490199229a9d9382729 Mon Sep 17 00:00:00 2001 From: Otto Moerbeek Date: Mon, 21 Jul 2025 13:30:56 +0200 Subject: [PATCH] Fix spell checking --- .github/actions/spell-check/candidate.patterns | 2 +- .github/actions/spell-check/patterns.txt | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/actions/spell-check/candidate.patterns b/.github/actions/spell-check/candidate.patterns index 30a01da901..10aa444c82 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 ad40984232..016010b00b 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 -- 2.47.2