[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: another segfault with malformed bytecode
- From: "Patrick Donnelly" <batrick.donnelly@...>
- Date: Wed, 2 Apr 2008 23:10:31 -0600
On Wed, Apr 2, 2008 at 10:40 PM, Ben <thebassplayer@gmail.com> 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 "")
http://www.lua.org/manual/5.1/manual.html#5.4.1
--
-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