~sircmpwn/aerc

5ea5f914bf10f8718a8d2966a01bd3d07b752e4d — EdOverflow 2 years ago dba1615
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.
1 files changed, 1 insertions(+), 1 deletions(-)

M filters/hldiff
M filters/hldiff => filters/hldiff +1 -1
@@ 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