From ca222b2b81db3a450124e71a9c0536a9f3cf0f8b Mon Sep 17 00:00:00 2001 From: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com> Date: Wed, 27 Dec 2023 22:17:30 +0100 Subject: [PATCH] check-pr: add special case for '(' and ')' (#11869) --- scripts/check-pr.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/check-pr.sh b/scripts/check-pr.sh index 436544658..ac228966b 100755 --- a/scripts/check-pr.sh +++ b/scripts/check-pr.sh @@ -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'