diff options
author | Drew DeVault <sir@cmpwn.com> | 2019-06-07 13:25:14 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2019-06-07 13:25:14 -0400 |
commit | 6d491569c0f95bec03cc837446c2836acabe99ae (patch) | |
tree | 45c35408e34f78ccf3eae7034a660d4e71384111 | |
parent | 74d4c0219dae9cee9eca9d6ea6b1988661b0f886 (diff) | |
download | aerc-6d491569c0f95bec03cc837446c2836acabe99ae.tar.gz |
plaintext filter: Match against start of line
-rwxr-xr-x | contrib/plaintext | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/plaintext b/contrib/plaintext index 82fe57e..73744cf 100755 --- a/contrib/plaintext +++ b/contrib/plaintext @@ -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 |