diff options
author | Hans Hagen <pragma@wxs.nl> | 2012-05-18 23:50:00 +0200 |
---|---|---|
committer | Hans Hagen <pragma@wxs.nl> | 2012-05-18 23:50:00 +0200 |
commit | 2895f6edd9f6692d7941a84e30ca06254338dfa8 (patch) | |
tree | 8c848c8151e5bd5de1d3ff00953061fc06ac4810 /scripts | |
parent | feb79ebf08de695a49daa0e7bfe0b991b81fd3e2 (diff) | |
download | context-2895f6edd9f6692d7941a84e30ca06254338dfa8.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 |