diff --git a/test/styles/Tezos/Capitalize.yml b/test/styles/Tezos/Capitalize.yml index c97e6fb69..0c0fc7820 100644 --- a/test/styles/Tezos/Capitalize.yml +++ b/test/styles/Tezos/Capitalize.yml @@ -2,5 +2,5 @@ extends: substitution message: "Always capitalize '%s'" level: error swap: - '([Ss])mart rollup': "Smart Rollup" - 'smart ([Rr])ollup': "Smart Rollup" + '(?:[Ss])mart rollup': "Smart Rollup" + 'smart (?:[Rr])ollup': "Smart Rollup"