aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xfilters/colorize2
1 files changed, 1 insertions, 1 deletions
diff --git a/filters/colorize b/filters/colorize
index c0e25f1b..e5502f25 100755
--- a/filters/colorize
+++ b/filters/colorize
@@ -23,7 +23,7 @@ BEGIN {
in_body = 0
# patterns
header_pattern = @/^[A-Z][[:alnum:]-]+:/
- url_pattern = @/[a-z]{2,6}:\/\/[[:graph:]]+|[[:alnum:]_\+\.~\/-]*[[:alnum:]_]@[[:lower:]][[:alnum:]\.-]*[[:lower:]]/
+ url_pattern = @/[a-z]{2,6}:\/\/[[:graph:]]+|(mailto:)?[[:alnum:]_\+\.~\/-]*[[:alnum:]_]@[[:lower:]][[:alnum:]\.-]*[[:lower:]]/
}
function color_quote(line) {
level = 0