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

pull/23/head
Sebastiaan Speck 2023-12-27 22:17:30 +01:00 committed by GitHub
parent feafe6a319
commit ca222b2b81
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

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'