You need capturing parens in order for anything to come out of your match in list context. If there is no capture, the match returns 1, even in list context... (unless it fails, of course :)
- Ant
- Some of my best work - (1 2 3)
In reply to Re: Did I match or didn't I?
by suaveant
in thread Did I match or didn't I?
by John M. Dlugosz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |