mirror of https://github.com/docker/docs.git
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>
This commit is contained in:
parent
51c5636494
commit
6c99895fd1
|
@ -1,4 +1,4 @@
|
|||
(?-i)[A-Z]{2,}'?s
|
||||
(?i)[A-Z]{2,}'?s
|
||||
Amazon
|
||||
Anchore
|
||||
Apple
|
||||
|
|
Loading…
Reference in New Issue