diff options
author | ShadowNinja <shadowninja@minetest.net> | 2015-02-01 18:10:09 -0500 |
---|---|---|
committer | ShadowNinja <shadowninja@minetest.net> | 2015-02-01 18:10:09 -0500 |
commit | 4404c4071cddfd7c30b2420be54d184067797482 (patch) | |
tree | d555b2fe6773e8216d811ef95833f18e3cc2d3d4 /tools/findtext.lua | |
parent | c4335aa3dca1d568167adcf13ec1285b76f25a9a (diff) |
Add numbered insertions
Diffstat (limited to 'tools/findtext.lua')
-rwxr-xr-x | tools/findtext.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/findtext.lua b/tools/findtext.lua index 63137e0..b6360cb 100755 --- a/tools/findtext.lua +++ b/tools/findtext.lua @@ -109,7 +109,7 @@ for _, file in ipairs(inputs) do local infile, e = io.open(file, "r") if infile then for line in infile:lines() do - for s in line:gmatch('S%("([^"]*)"%)') do + for s in line:gmatch('S%("([^"]*)"') do table.insert(messages, s) end end |