From 2a42cd882110cb6168f866679dce5b3a60c78b1e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A1bor=20Cs=C3=A1rdi?= Date: Mon, 12 Sep 2016 00:20:23 +0100 Subject: autolink scheme can contain digits --- src/scanners.re | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/scanners.re b/src/scanners.re index 52bf5aa..9e9999c 100644 --- a/src/scanners.re +++ b/src/scanners.re @@ -71,7 +71,7 @@ bufsize_t _scan_at(bufsize_t (*scanner)(const unsigned char *), cmark_chunk *c, in_single_quotes = ['] (escaped_char|[^'\x00])* [']; in_parens = [(] (escaped_char|[^)\x00])* [)]; - scheme = [A-Za-z ][A-Za-z.+-]{1,31}; + scheme = [A-Za-z ][A-Za-z0-9.+-]{1,31}; */ // Try to match a scheme including colon. -- cgit v1.2.3