summaryrefslogtreecommitdiff
path: root/tex/context/base/tabl-tbl.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/tabl-tbl.lua')
-rw-r--r--tex/context/base/tabl-tbl.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/tex/context/base/tabl-tbl.lua b/tex/context/base/tabl-tbl.lua
index 4531b2134..86968721b 100644
--- a/tex/context/base/tabl-tbl.lua
+++ b/tex/context/base/tabl-tbl.lua
@@ -21,8 +21,7 @@ local nested = lpeg.patterns.nested
local pattern = Ct((separator * (C(nested) + Cc("")) * C((1-separator)^0))^0)
function commands.presettabulate(preamble)
- -- todo: lpeg
- preamble = string.escapedpattern(preamble)
+ -- todo: lpeg but not now
preamble = gsub(preamble, "%*(%b{})(%b{})", function(n,p)
return rep(sub(p,2,-2),tonumber(sub(n,2,-2)) or 1)
end)