From: Martin DeMello Date: 2003-07-22T18:52:46+09:00 Subject: Re: Should String#strip take a parameter? Bj?rn Lindstr?m wrote: > Martin DeMello writes: > >> Treating a string as a character class is not convenient enough to >> justify its limitingness. > > Couldn't you just support both. That is, the argument could be either a > string or a RegExp. My argument was that if the parameter is regexp oriented, it makes more sense for a string to match itself than "any of its characters". martin