On Feb 17, 2014, at 16:55 , steve donovan wrote:
well, in my option library foundations should just work, and not silently discard some bits and bytes. A line is a line, no matter how many \0 are in there until the next \n-newline. And the Lua manual points out Lua strings are \0-save.
I already provided patches a year or two ago for other pattern matching \0 fixes, which where merged into 5.2.
One quite simple and obvious use of lines with \0 binary data is parsing MIME, CGI data.