diff options
author | Marius <mariausol@gmail.com> | 2010-11-20 14:00:11 +0200 |
---|---|---|
committer | Marius <mariausol@gmail.com> | 2010-11-20 14:00:11 +0200 |
commit | 44d0f4fe01338d0f699e1f09ae13d17088c2db83 (patch) | |
tree | d20a0b2c876a46cd9b4d2c8460e3ffa0be1739d4 /scripts/context/lua/mtxrun.lua | |
parent | b4b58bbfe882406b09b2548e7aa55d238987f894 (diff) | |
download | context-44d0f4fe01338d0f699e1f09ae13d17088c2db83.tar.gz |
beta 2010.11.20 12:51
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") |