From: "Marcel Molina Jr." Date: 2007-07-11T11:08:26+09:00 Subject: Re: Beautiful Code : Pity he didn't ask here... On Wed, Jul 11, 2007 at 10:53:42AM +0900, ara.t.howard wrote: > %r|GET /ongoing/When/\d\d\dx/(\d\d\d\d/\d\d/\d\d/[^ .]+)|x Looking at all those \d is kind of hard to parse also. I think the following way of expression that pattern is considerably clearer: %r|GET /ongoing/When/\d{3}x/(\d{4}/\d{2}/\d{2}/[^ .]+)|x Readability improves even more when Oniguruma allows for named captures. marcel -- Marcel Molina Jr.