cmark

My personal build of CMark ✏️

Commit
7363c073479a980fe10d56bd7867813e88b63847
Parent
fae6a253d2f0c79eb34b0bf83ca484c93484f5a5
Author
John MacFarlane <jgm@berkeley.edu>
Date

Merge pull request #153 from gaborcsardi/patch-1

autolink scheme can contain digits

Diffstat

1 file changed, 1 insertion, 1 deletion

Status File Name N° Changes Insertions Deletions
Modified src/scanners.re 2 1 1
diff --git 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.