in reply to notabug quiz
This is documented behaviour in perlre: Repeated patterns matching zero length substrings.
update: added the part of the quiz i am referring to.
-enlil