From: Reto Schuettel Date: 2006-07-20T01:06:33+09:00 Subject: Re: Regular-Expressions Problem/Bug Hi On Thu, Jul 20, 2006 at 12:49:35AM +0900, Hugh Sasse wrote: > On Thu, 20 Jul 2006, ts wrote: > > > >>>>> "R" == Reto Schuettel writes: > > > > R> res = [ /(.*)ABC[y]\#$/, > > R> /(.*)ABC[y]\#/, > > R> /(.*)ABCy\#$/, > > R> /(.*)ABCy\#/ ] > > > > remove this `(.*)' it's just useless > > Oh, yes, you can get that with MatchData#prematch. That's worth testing > to see how that affects performance. In my case this was my work-around, but it may not work in other cases. I'm just wondering if this really is normal/as it should be. Regards, Reto Schuettel