mirror of https://github.com/CrimsonTome/tldr.git
check-pr: add special case for '(' and ')' (#11869)
parent
feafe6a319
commit
ca222b2b81
|
@ -78,6 +78,7 @@ function strip_commands() {
|
||||||
grep "$regex" "$file" |
|
grep "$regex" "$file" |
|
||||||
sed 's/{{[^}]*}}/{{}}/g' |
|
sed 's/{{[^}]*}}/{{}}/g' |
|
||||||
sed 's/<[^>]*>//g' |
|
sed 's/<[^>]*>//g' |
|
||||||
|
sed 's/([^)]*)//g' |
|
||||||
sed 's/"[^"]*"/""/g' |
|
sed 's/"[^"]*"/""/g' |
|
||||||
sed "s/'[^']*'//g" |
|
sed "s/'[^']*'//g" |
|
||||||
sed 's/`//g'
|
sed 's/`//g'
|
||||||
|
|
Loading…
Reference in New Issue