check-pr: add special case for '(' and ')' (#11869)

This commit is contained in:
Sebastiaan Speck
2023-12-27 22:17:30 +01:00
committed by GitHub
parent feafe6a319
commit ca222b2b81

View File

@@ -78,6 +78,7 @@ function strip_commands() {
grep "$regex" "$file" |
sed 's/{{[^}]*}}/{{}}/g' |
sed 's/<[^>]*>//g' |
sed 's/([^)]*)//g' |
sed 's/"[^"]*"/""/g' |
sed "s/'[^']*'//g" |
sed 's/`//g'