From: Gavin Sinclair Date: 2004-09-28T18:26:42+09:00 Subject: Re: Wish list for 2.0 On Tuesday, September 28, 2004, 5:45:08 PM, Yukihiro wrote: > |Perhaps String#delete could take a regex as well? > | > | str.delete /\s/ > Interesting idea. What if pattern match overwrap, e.g. > str = "aabab" > str.delete(/a./) > ? Should it work as str.gsub(pat, "") ? That makes sense. Might as well implement it like that so it can be documented as such. Gavin