lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Sat, Jul 7, 2012 at 6:51 PM,  <meino.cramer@gmx.de> wrote:
> Why does string.find find the word "test" but not the "(" ?

Because '(' is a 'magic character' in string patterns.  If you say
string.find(s,'(',1,true) then it does a plain search.

steve d.