diff options
author | Lua Team <team@lua.org> | 2004-03-17 12:00:00 +0000 |
---|---|---|
committer | repogen <> | 2004-03-17 12:00:00 +0000 |
commit | e7731a8fb8a317aa5c444ef073bfad82fa5baa54 (patch) | |
tree | 75b630332e6cdce8b40acf3282e1e8eee27b579e /test/table.lua | |
parent | 72286a8eeb927e1a33f24e9d99bb37ec5343ad45 (diff) | |
download | lua-github-5.0.2.tar.gz |
Lua 5.0.25.0.2
Diffstat (limited to 'test/table.lua')
-rw-r--r-- | test/table.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/table.lua b/test/table.lua index bc2cd60c..235089c0 100644 --- a/test/table.lua +++ b/test/table.lua @@ -5,7 +5,7 @@ local A while 1 do local l=io.read() if l==nil then break end - local _,_,a,b=string.find(l,'"?(%w+)"?%s*(.*)$') + local _,_,a,b=string.find(l,'"?([_%w]+)"?%s*(.*)$') if a~=A then A=a io.write("\n",a,":") end io.write(" ",b) end |