summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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.