From 6c99895fd110be6447b8428015ba9112b355daf4 Mon Sep 17 00:00:00 2001 From: David Karlsson <35727626+dvdksn@users.noreply.github.com> Date: Mon, 6 Jan 2025 07:26:01 +0100 Subject: [PATCH] vale: properly allow pluralized acronyms Something changed in a recent vale release where the old regex syntax for enforcing case-sensitivity does not work anymore. This change ensures that the allow-rule for ignoring pluralized acronyms only flag terms that begin with two or more *uppercase* letters, followed by an s. Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com> --- _vale/config/vocabularies/Docker/accept.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_vale/config/vocabularies/Docker/accept.txt b/_vale/config/vocabularies/Docker/accept.txt index 1036af5ee679..07fb5e1242b9 100644 --- a/_vale/config/vocabularies/Docker/accept.txt +++ b/_vale/config/vocabularies/Docker/accept.txt @@ -1,4 +1,4 @@ -(?-i)[A-Z]{2,}'?s +(?i)[A-Z]{2,}'?s Amazon Anchore Apple