summaryrefslogtreecommitdiff
path: root/src/scanners.re
diff options
context:
space:
mode:
Diffstat (limited to 'src/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 28a6991..c6ebae3 100644
--- a/src/scanners.re
+++ b/src/scanners.re
@@ -24,7 +24,7 @@ int _scan_at(int (*scanner)(const unsigned char *), cmark_chunk *c, int offset)
wordchar = [^\x00-\x20];
- spacechar = [ \t\n];
+ spacechar = [ \t\v\f\r\n];
reg_char = [^\\()\x00-\x20];
@@ -155,7 +155,7 @@ int _scan_spacechars(const unsigned char *p)
{
const unsigned char *start = p; \
/*!re2c
- [ \t\n]* { return (p - start); }
+ [ \t\v\f\r\n]* { return (p - start); }
. { return 0; }
*/
}