#212 Lua long string regex error

closed-fixed
BenBE
5
2012-12-25
2012-07-09
No

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.

Discussion

  • Tim Starling

    Tim Starling - 2012-07-09

    Use single quotes so that \1 will work

     
  • BenBE

    BenBE - 2012-08-15
    • assigned_to: oracleshinoda --> benbe
    • status: open --> pending-fixed
     
  • BenBE

    BenBE - 2012-08-15

    Thanks for the patch.

     
  • BenBE

    BenBE - 2012-08-18
    • status: pending-fixed --> closed-fixed
     

Log in to post a comment.