From: Emmanuel Touzery Date: 2003-08-26T21:18:24+09:00 Subject: Re: Specification of Ruby regex? Hello! Tim Hunter wrote: >On Tue, 26 Aug 2003 16:15:38 +0900, Ronald Pijnacker wrote: > > > >In the paper version of the Pickaxe r{m} is described on >page 61. Extensions such as (?:...) on pp. 209-211. > >My online version of the Pickaxe (from ruby-doc.org) documents both as >well. For the extensions, click The Ruby Language in the TOC and scroll >down to the Extensions section. Repetition (r{m}) is documented in >Standard Types. > > > > btw, since there is a thread about that, i wanted to ask: does ruby support named matches (sorry i don't know the proper terminology)? C# does it like this: "(?\d{4})-(?\d{1,2})-(?\d{1,2})" matches "2002-4-6" and then in my match groups i have "year", "month", "day". (looked in pickaxe + google ruby "regexp match group") emmanuel