Takaaki Tateishi wrote:

> [ruby-dev:25726] named capture
>
>   Nishiyama proposed that MatchData#[] receives a symbol and a
string, and
>   returns matched data which is indicated by a label on a regular
expression.
>   That proposal is for a ruby with Oniguruma as a regular expression
engine,
>   as Oniguruma has a feature called "named capture" to specify
matched strings
>   using labels.

Can someone please provide some sample code for this?  I'm not sure I
get it.

Thanks.

Dan