From: Austin Ziegler Date: 2003-08-27T04:00:20+09:00 Subject: Re: Specification of Ruby regex? On Tue, 26 Aug 2003 21:28:07 +0900, Gavin Sinclair wrote: > On Tuesday, August 26, 2003, 10:18:24 PM, Emmanuel wrote: >> 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") > I'm 99.99% sure it doesn't. The latest Oniguruma supports it. I'm not sure how to use/enable that, but it does support it. -austin -- austin ziegler * austin@halostatue.ca * Toronto, ON, Canada software designer * pragmatic programmer * 2003.08.26 * 14.57.44