lua-users home
lua-l archive

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

I have a Lua function that includes:

  local s = string.find(buffer, ff)

The ff is defined as 0x0C (a form feed), and is a "special character". The
find is "finding" form feeds where there are none (as verified with a hex
editor). Is there a problem in using this string function for finding
special characters? If so, how do I search buffer for a form feed?