From: Daniel Berger Date: 2005-02-24T23:40:02+09:00 Subject: Re: ruby-dev summary 25709-25740 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