They all fail. Eventually, the regex engine will attempt to match at position 4, and not even the first capture will succeed.
In reply to Re: Tell or determine whichever Perl regex group fails
by ikegami
in thread Tell or determine whichever Perl regex group fails
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |