diff options
author | Gábor Csárdi <csardi.gabor@gmail.com> | 2016-09-12 00:20:23 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-09-12 00:20:23 +0100 |
commit | 2a42cd882110cb6168f866679dce5b3a60c78b1e (patch) | |
tree | 4a7afd51ca40e37191ccf13fe21cffeafe88ef74 /src | |
parent | c9449a9f55c93d27d161b7425ebf951e4374ef1e (diff) |
autolink scheme can contain digits
Diffstat (limited to 'src')
-rw-r--r-- | src/scanners.re | 2 |
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. |