aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--filters/colorize.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/filters/colorize.c b/filters/colorize.c
index 51bcdbe9..5122b241 100644
--- a/filters/colorize.c
+++ b/filters/colorize.c
@@ -457,7 +457,7 @@ static inline bool isurichar(char c)
#define URL_RE \
"([a-z]{2,8})://" \
- "|(mailto:)?[[:alnum:]_+.~/-]*[[:alnum:]]@[a-z][[:alnum:].-]*[a-z]"
+ "|(mailto:)?[[:alnum:]_+.~/-]*[[:alnum:]]@[[:alnum:]][[:alnum:].-]*[[:alnum:]]"
static regex_t url_re;
static void urls(const char *in, struct style *ctx)