check-pr: add special case for '(' and ')' (#11869)
This commit is contained in:
@@ -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'
|
||||
|
Reference in New Issue
Block a user