Using $+ only works with one capture per alternation, though. In other words, it's not a general substitute for (?|...).
In reply to Re^2: perl 5.8.8 equivalent of ?|
by Anonyrnous Monk
in thread perl 5.8.8 equivalent of ?|
by Tinkster
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |