diff options
author | Marius <mariausol@gmail.com> | 2012-05-19 01:20:14 +0300 |
---|---|---|
committer | Marius <mariausol@gmail.com> | 2012-05-19 01:20:14 +0300 |
commit | 3821b4213bf250551cfa122313ae2c56f9923533 (patch) | |
tree | 291a4a12a622e6d081ba8b709ab3c03780e5d445 /scripts | |
parent | eda07bb8527bbb5d411be813ccd1e916c83e9d5b (diff) | |
download | context-3821b4213bf250551cfa122313ae2c56f9923533.tar.gz |
beta 2012.05.18 23:50
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/context/lua/mtx-grep.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/context/lua/mtx-grep.lua b/scripts/context/lua/mtx-grep.lua index 6e33d440c..3cbc1421a 100644 --- a/scripts/context/lua/mtx-grep.lua +++ b/scripts/context/lua/mtx-grep.lua @@ -32,7 +32,7 @@ local cr = lpeg.P("\r") local lf = lpeg.P("\n") local crlf = cr * lf local newline = crlf + cr + lf -local content = lpeg.C((1-newline)^0) * newline +local content = lpeg.C((1-newline)^0) * newline + lpeg.C(lpeg.P(1)^1) local write_nl = texio.write_nl |