From 76d39d05996e4b38c7a854740e41a4f3d307fc1c Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Mon, 5 Dec 2016 14:29:41 +0100 Subject: Fixed some warnings in scanners.re. --- src/scanners.re | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/scanners.re b/src/scanners.re index 02b393a..9296760 100644 --- a/src/scanners.re +++ b/src/scanners.re @@ -41,9 +41,9 @@ bufsize_t _scan_at(bufsize_t (*scanner)(const unsigned char *), cmark_chunk *c, attributename = [a-zA-Z_:][a-zA-Z0-9:._-]*; - unquotedvalue = [^\"'=<>`\x00]+; + unquotedvalue = [^"'=<>`\x00]+; singlequotedvalue = ['][^'\x00]*[']; - doublequotedvalue = [\"][^\"\x00]*[\"]; + doublequotedvalue = ["][^"\x00]*["]; attributevalue = unquotedvalue | singlequotedvalue | doublequotedvalue; -- cgit v1.2.3