aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2019-06-07 13:25:14 -0400
committerDrew DeVault <sir@cmpwn.com>2019-06-07 13:25:14 -0400
commit6d491569c0f95bec03cc837446c2836acabe99ae (patch)
tree45c35408e34f78ccf3eae7034a660d4e71384111 /contrib
parent74d4c0219dae9cee9eca9d6ea6b1988661b0f886 (diff)
plaintext filter: Match against start of line
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/plaintext2
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