From 04b1dd950809c7e247cc1e180ba9ccd316098003 Mon Sep 17 00:00:00 2001 From: Tim McMackin Date: Thu, 4 Jan 2024 10:38:40 -0500 Subject: [PATCH] capture groups --- test/styles/Tezos/Capitalize.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/styles/Tezos/Capitalize.yml b/test/styles/Tezos/Capitalize.yml index c59b942af..181261586 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: - '([S|s])mart rollup': "Smart Rollup" - 'smart ([R|r])ollup': "Smart Rollup" + '(?:[S|s])mart rollup': "Smart Rollup" + 'smart (?:[R|r])ollup': "Smart Rollup"