From: Austin Ziegler Date: 2003-05-13T12:02:49+09:00 Subject: Re: Regexp: why does (re)* return only last repetition? On Tue, 13 May 2003 07:56:07 +0900, Mike Campbell wrote: >> It's the patttern specified specifically: "[a-z\\]". So far as I >> can tell, the backslash is being interpolated twice (once by >> String#new and once by Regexp#new). Is this a bug? I'm not sure, >> but I think so; it doesn't do it twice with "[\\a-z]", >> "[a-z\\\]", or "[a-z\\\\]". > Is this with 1.8? I thought I remembered a thread about some new > character class "warnings" code that do all sorts of weird unusual > things that the pre 1.8 versions didn't have. As I noted to Brian Candler, both 1.6.8 and 1.8.0/2003-05-09. -austin -- Austin Ziegler, austin@halostatue.ca on 2003.05.12 at 23:02:05