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


in reply to Re^3: Is there a way to allow consecutive zero-length matches without using pos()?
in thread Is there a way to allow consecutive zero-length matches without using pos()?

That solution rewrites the multiple regular expressions to a single big regular expression. That works, but I didn't need it. I never had jsm's performance problem (presumably because I didn't use those perl versions for that very old code), so assigning pos worked just fine for me.

  • Comment on Re^4: Is there a way to allow consecutive zero-length matches without using pos()?