lua-users home
lua-l archive

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


>     "  strfind( strToSearch, '#ifdef LUA_PREPROCESSOR', 15218 ) "

Quite for sure your problem is the reported bug with strfind. It happens 
exactly when you use an offset in the search; it is not subtracting the 
offset from the string length, so it keeps searching 15218 characteres 
after the end of the string. (Just out of curiosity: what is "15218"?) 


-- Roberto