Escape plus symbol in hldiff filter.
I was getting errors when using the hldiff filter with aerc because the plus symbol on line 28 wasn't escaped. This commit escapes the plus symbol in the regex on line 28.
This commit is contained in:
parent
dba16157de
commit
5ea5f914bf
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ BEGIN {
|
|||
} else {
|
||||
if ($0 ~ /^-/) {
|
||||
print red $0 reset
|
||||
} else if ($0 ~ /^+/) {
|
||||
} else if ($0 ~ /^\+/) {
|
||||
print green $0 reset
|
||||
} else if ($0 ~ /^ /) {
|
||||
print $0
|
||||
|
|
Loading…
Reference in a new issue