diff --git a/tools/check-spelling.sh b/tools/check-spelling.sh index d82a77b2e47c..5090352a726e 100755 --- a/tools/check-spelling.sh +++ b/tools/check-spelling.sh @@ -6,7 +6,7 @@ if git --no-pager grep -nHiE 'l[ightn]{6}g|l[ightn]{8}g|ilghtning|lgihtning|lihg exit 1 fi -if git --no-pager grep -nHiE 'ctlv' | grep -v 'enctlv' -- . ':!tools/check-spelling.sh'; then +if git --no-pager grep -nHiEP '(?&2 exit 1 fi