http://www.perlmonks.org?node_id=75556


in reply to Problem with Text::Balanced

I think I've found the bug in Text::Balanced. On line 236 (v1.83) there's a regex that only had the /gc flags. Adding /s seems to fix it. I'm not sure it's the right fix, I'm submitting to Damian.

UPDATE: I just received a mail from Damian confirming that there was a problem, and that the fix will be in the next release.

UPDATE 2: Text::Balanced 1.84 is out with the fix incorporated. CSS::SAC users take notice, version 0.04 to come will require that version of Text::Balanced.

-- darobin -- knowscape 2 coming soon --