summaryrefslogtreecommitdiff
path: root/scripts/context/lua/mtx-grep.lua
diff options
context:
space:
mode:
authorMarius <mariausol@gmail.com>2013-09-20 01:40:28 +0300
committerMarius <mariausol@gmail.com>2013-09-20 01:40:28 +0300
commit5be028e9e8cad8e72967191716ba3974bb7832db (patch)
tree52ea32889878c64c25613351bed3405d75214c4f /scripts/context/lua/mtx-grep.lua
parent160bfc0c13cf59e70b7a9244eb851618d2ae8781 (diff)
downloadcontext-5be028e9e8cad8e72967191716ba3974bb7832db.tar.gz
beta 2013.09.20 00:32
Diffstat (limited to 'scripts/context/lua/mtx-grep.lua')
-rw-r--r--scripts/context/lua/mtx-grep.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/context/lua/mtx-grep.lua b/scripts/context/lua/mtx-grep.lua
index dbcce67f6..d0f33cb21 100644
--- a/scripts/context/lua/mtx-grep.lua
+++ b/scripts/context/lua/mtx-grep.lua
@@ -51,7 +51,9 @@ local content = lpeg.C((1-newline)^0) * newline + lpeg.C(lpeg.P(1)^1)
local write_nl = texio.write_nl
- -- local pattern = "LIJST[@TYPE='BULLET']/LIJSTITEM[contains(text(),'Kern')]"
+-- local pattern = "LIJST[@TYPE='BULLET']/LIJSTITEM[contains(text(),'Kern')]"
+
+-- 'Cc%(\\\"\\\"%)'
function scripts.grep.find(pattern, files, offset)
if pattern and pattern ~= "" then