summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGábor Csárdi <csardi.gabor@gmail.com>2016-09-12 00:20:23 +0100
committerGitHub <noreply@github.com>2016-09-12 00:20:23 +0100
commit2a42cd882110cb6168f866679dce5b3a60c78b1e (patch)
tree4a7afd51ca40e37191ccf13fe21cffeafe88ef74 /src
parentc9449a9f55c93d27d161b7425ebf951e4374ef1e (diff)
autolink scheme can contain digits
Diffstat (limited to 'src')
-rw-r--r--src/scanners.re2
1 files changed, 1 insertions, 1 deletions
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.