in reply to Is there a way to allow consecutive zero-length matches without using pos()?
FWIW: my guts say you might use look behind assertions. ...
Cheers Rolf (addicted to the Perl Programming Language and ☆☆☆☆ :) Je suis Charlie!