diff --git a/_vale/Docker/Acronyms.yml b/_vale/Docker/Acronyms.yml index 337fe998a1..e9b451a3c3 100644 --- a/_vale/Docker/Acronyms.yml +++ b/_vale/Docker/Acronyms.yml @@ -4,8 +4,8 @@ link: https://docs.docker.com/contribute/style/grammar/#acronyms-and-initialisms level: warning ignorecase: false # Ensures that the existence of 'first' implies the existence of 'second'. -first: '\b[^!]([A-Z]{3,5})\b' -second: '(?:\b[A-Za-z]+(?: |\n))+\(([A-Z]{3,5})\)' +first: '\b([A-Z]{3,5})\b' +second: '(?:\b[A-Z][a-z]+ )+\(([A-Z]{3,5})\)' # ... with the exception of these: exceptions: - API