plaintext filter: Match against start of line

This commit is contained in:
Drew DeVault 2019-06-07 13:25:14 -04:00
parent 74d4c0219d
commit 6d491569c0

View file

@ -5,7 +5,7 @@ BEGIN {
reset = "\x1B[0m"
}
{
if ($0 ~ /On .*, .* wrote:/ || $0 ~ />+/) {
if ($0 ~ /^On .*, .* wrote:/ || $0 ~ /^>+/) {
print dim cyan $0 reset
} else {
print $0