summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2016-12-05 14:29:41 +0100
committerJohn MacFarlane <jgm@berkeley.edu>2016-12-05 14:29:41 +0100
commit76d39d05996e4b38c7a854740e41a4f3d307fc1c (patch)
tree2376b079dd89c034272b1b7d7833316a417f05ba
parent9f6be5bd537a9337b4c42685e4f80f65f5975fe0 (diff)
Fixed some warnings in scanners.re.
-rw-r--r--src/scanners.re4
1 files changed, 2 insertions, 2 deletions
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;