In 1.0.x, the COMMENT_REGEXP used to define Lua long strings like [[...]] is incorrect. It uses \1 inside double-quotes, which PHP interprets to be ASCII character 1 instead of a backreference. Patch attached.
Use single quotes so that \1 will work
Thanks for the patch.
Log in to post a comment.