diff options
author | Context Git Mirror Bot <phg42.2a@gmail.com> | 2014-10-06 01:15:04 +0200 |
---|---|---|
committer | Context Git Mirror Bot <phg42.2a@gmail.com> | 2014-10-06 01:15:04 +0200 |
commit | 0e1fbe2dcb089fd8c8de066587c860a9aae8cb61 (patch) | |
tree | 10b838a7687eebe508cc3f20bd76ceb4fded12c9 /tex/context/base/l-lpeg.lua | |
parent | e891b55d71c2b4139dd25f40cfe344a4899a1ef2 (diff) | |
download | context-0e1fbe2dcb089fd8c8de066587c860a9aae8cb61.tar.gz |
2014-10-06 00:31:00
Diffstat (limited to 'tex/context/base/l-lpeg.lua')
-rw-r--r-- | tex/context/base/l-lpeg.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tex/context/base/l-lpeg.lua b/tex/context/base/l-lpeg.lua index f3fd28b1d..f310bc0fe 100644 --- a/tex/context/base/l-lpeg.lua +++ b/tex/context/base/l-lpeg.lua @@ -145,6 +145,9 @@ patterns.utfbom_8 = utfbom_8 patterns.utf_16_be_nl = P("\000\r\000\n") + P("\000\r") + P("\000\n") -- P("\000\r") * (P("\000\n") + P(true)) + P("\000\n") patterns.utf_16_le_nl = P("\r\000\n\000") + P("\r\000") + P("\n\000") -- P("\r\000") * (P("\n\000") + P(true)) + P("\n\000") +patterns.utf_32_be_nl = P("\000\000\000\r\000\000\000\n") + P("\000\000\000\r") + P("\000\000\000\n") +patterns.utf_32_le_nl = P("\r\000\000\000\n\000\000\000") + P("\r\000\000\000") + P("\n\000\000\000") + patterns.utf8one = R("\000\127") patterns.utf8two = R("\194\223") * utf8next patterns.utf8three = R("\224\239") * utf8next * utf8next |