This is documented behaviour in perlre: Repeated patterns matching zero length substrings.
update: added the part of the quiz i am referring to.
-enlil
In reply to Re: notabug quiz (Spoiler for #3)
by Enlil
in thread notabug quiz
by ysth
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |