in reply to Regex Report

Just something to think about but the dotNet regex library supports named captures:

(?<NAME>PATTERN)

While you are hacking this funky stuff maybe such a thing would also be cool. Maybe you could use %+ to hold the captures? So

if ('demerphq'=~/(?<perlmonk>\w+)/) { print $+{perlmonk} }

would work. I mean its a bit embarrassing that dotNet has a cool regex feature that perl doesn't. (IMO anyway. :-)

Thanks for your efforts japhy.

---
demerphq

    First they ignore you, then they laugh at you, then they fight you, then you win.
    -- Gandhi