On 26 Nov 2013 12:40, "Norfanin" <norfanin@xxxxxxxxx> wrote: > > Is the embedded zeros in patterns feature from Lua 5.2 something that > will ever come to LuaJIT? This currently errors like in Lua 5.1. > > print(#("\0"):match("[\0]")) > > I have a feeling this was addressed somewhere already, but I'm unable > to find it. Sorry if I make you repeat yourself. > I'm not sure if there are plans to add that, but in Lua 5.1 (and probably in LuaJIT) you can just use the %z character class to match nulls.