Try running your match without parens, and see the difference.I tried without parens and saw no difference. I tried with perl 5.14.1 and 5.12.2.
In reply to Re^2: ${^MATCH} regex special variable(s) and /p regex modifier
by lidden
in thread ${^MATCH} regex special variable(s) and /p regex modifier
by AnomalousMonk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |