diff options
Diffstat (limited to 'scripts/context/lua/mtxrun.lua')
-rw-r--r-- | scripts/context/lua/mtxrun.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/context/lua/mtxrun.lua b/scripts/context/lua/mtxrun.lua index d45e7e5fe..7b5348424 100644 --- a/scripts/context/lua/mtxrun.lua +++ b/scripts/context/lua/mtxrun.lua @@ -188,9 +188,11 @@ local utfgmatch = unicode and unicode.utf8.gmatch local anything = P(1) local endofstring = P(-1) +local alwaysmatched = P(true) patterns.anything = anything patterns.endofstring = endofstring +patterns.beginofstring = alwaysmatched local digit, sign = R('09'), S('+-') local cr, lf, crlf = P("\r"), P("\n"), P("\r\n") |