in reply to Re^2: 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()?

Thanks for the context. Does rubasov's solution not answer this question? In what way does it fail to meet your criteria?

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

Replies are listed 'Best First'.
Re^4: Is there a way to allow consecutive zero-length matches without using pos()?
by ambrus (Abbot) on Nov 03, 2017 at 17:05 UTC

    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.