diff options
author | Hans Hagen <pragma@wxs.nl> | 2019-10-01 11:01:50 +0200 |
---|---|---|
committer | Context Git Mirror Bot <phg@phi-gamma.net> | 2019-10-01 11:01:50 +0200 |
commit | 7b12427f475e64e06f5dd7b537462b6d990526f6 (patch) | |
tree | c8b553e26752f0900f8f50241970bb5cdefd3938 /tex/context/base/mkiv/l-lpeg.lua | |
parent | fd8697791360a26a2b9cc888dbc125cefedfcd42 (diff) | |
download | context-7b12427f475e64e06f5dd7b537462b6d990526f6.tar.gz |
2019-10-01 10:44:00
Diffstat (limited to 'tex/context/base/mkiv/l-lpeg.lua')
-rw-r--r-- | tex/context/base/mkiv/l-lpeg.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tex/context/base/mkiv/l-lpeg.lua b/tex/context/base/mkiv/l-lpeg.lua index 51bc1d3df..7979a40fb 100644 --- a/tex/context/base/mkiv/l-lpeg.lua +++ b/tex/context/base/mkiv/l-lpeg.lua @@ -295,7 +295,7 @@ patterns.longtostring = Cs(whitespace^0/"" * ((patterns.quoted + nonwhitespace^ -- return P { P(pattern) + 1 * V(1) } -- end -function anywhere(pattern) -- faster +local function anywhere(pattern) -- faster return (1-P(pattern))^0 * P(pattern) end |