[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Missing string.find functionality in Lua 5.1
- From: David Burgess <dburgess@...>
- Date: Sun, 11 Sep 2005 23:09:50 +1000
> But may be your Lua 5.1 binaries were compiled with the option
> LUA_COMPAT_FIND turned on?
Yes. Sorry, I missed that. I was using luaconf.h defaults.
I think that that the intention of the documentation is to convey the
idea that string.match (unlike string.find) will capture the match
string even if you do not provide a "()" capture.
Time for me to go read the code.