Patterns in Lua Manual
however while just randomly browsing through the Lua mail lists I discovered quite a few official/semi-official programs use %z in gsub... As far as I am aware this shouldn't do anything special should it? or are there some codes that the manual doesn't properly document? Or is this not being used as a pattern in gsub and instead I'm just extremely confused about what it is? Below is one example of it I found in which it is being used to handle bytecode.
string.gsub(foobar,"\20(\1%z%z%z)","\2%1")
Edited by HDeffo, 23 February 2016 - 04:01 PM.












