IIRC, other languages already do this (Python, for one). Perl6 also has syntax for this. Perl5 has it in a limited way:
my ($first_char, $word) = $_ =~ /\A (.) (\w+) /;
"There is no shame in being self-taught, only in not trying to learn in the first place." -- Atrus, Myst: The Book of D'ni.
In reply to Re: RFC: named pattern match tokens
by hardburn
in thread RFC: named pattern match tokens
by revdiablo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |