aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xemparse6
1 files changed, 3 insertions, 3 deletions
diff --git a/emparse b/emparse
index 9594f82..4ffc848 100755
--- a/emparse
+++ b/emparse
@@ -54,11 +54,11 @@ function format(line) {
for (i = 0; i <= n; i++) {
if (w[i] == "") continue;
- if (match(w[i], "^&lt;(\\./.*|\\.\\./.*|#.*|.*/.*)&gt;$"))
+ if (match(w[i], "^&lt;(\\./.*|\\.\\./.*|#.*|.*/.*|mailto:.*)&gt;$"))
w[i] = link(substr(w[i], 5, RLENGTH-8))
- else if (match(w[i], "^&lt;(\\./.*|\\.\\./.*|#.*|.*/.*)&gt;[.,:;?!)]$"))
+ else if (match(w[i], "^&lt;(\\./.*|\\.\\./.*|#.*|.*/.*|mailto:.*)&gt;[.,:;?!)]$"))
w[i] = link(substr(w[i], 5, RLENGTH-9)) substr(w[i], RLENGTH)
- else if (match(w[i], "^&lt;(\\./.*|\\.\\./.*|#.*|.*/.*)&gt;\\)[.,:;?!]$"))
+ else if (match(w[i], "^&lt;(\\./.*|\\.\\./.*|#.*|.*/.*|mailto:.*)&gt;\\)[.,:;?!]$"))
w[i] = link(substr(w[i], 5, RLENGTH-10)) substr(w[i], RLENGTH-1)
if (match(w[i], "^\\[[0-9a-z]+\\]$"))