lua-users home
lua-l archive

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

On Wed, Apr 2, 2008 at 10:40 PM, Ben <> wrote:
> Oh.  Um... I don't really understand why, I guess.

\0 is is not correct in a pattern, you need to use %z instead. (Using
"\0\0" is basically the same as "")

-Patrick Donnelly

"One of the lessons of history is that nothing is often a good thing
to do and always a clever thing to say."

-Will Durant