diff --git a/.github/vale/styles/OpenSearch/LinksDoubleParentheses.yml b/.github/vale/styles/OpenSearch/LinksDoubleParentheses.yml index 98d37b46..d22a3238 100644 --- a/.github/vale/styles/OpenSearch/LinksDoubleParentheses.yml +++ b/.github/vale/styles/OpenSearch/LinksDoubleParentheses.yml @@ -4,5 +4,6 @@ level: error nonword: true scope: raw tokens: - - '\[.*\](\(){2,}.*(\)){1,}' - - '\[.*\](\(){1,}.*(\)){2,}' + - '\]\({2,}[^)]*?\){1,}' + - '\]\([^]]*?\){2,}' +