|
David Burgess wrote:
Lua 5.1 (alpha) Copyright (C) 1994-2005 Lua.org, PUC-Rio=string.find("abcdefg",".([bc]+)")1 3 bc=string.match("abcdefg",".([bc]+)")bc It would seem to me that string.find has not changed its behaviour.
I haven't actually tested string.find with Lua 5.1 since I'm still working with Lua 5.0. My original post was based solely on the docs.But may be your Lua 5.1 binaries were compiled with the option LUA_COMPAT_FIND turned on?
-- Shmuel