Bj?rn Lindstr?m <bkhl / privat.utfors.se> wrote: > Martin DeMello <martindemello / yahoo.com> 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