From: ts Date: 2004-05-16T18:48:25+09:00 Subject: Re: error in reg ex parser of 1.6.3 and 1.8.1? >>>>> "C" == Christian Kaiser writes: C> I would assume this to be an error: it's called "eternal" match C> " charset=iso-8859-1\">".gsub(/<(?:[^">]+|"[^"]*")+>/) { |sMatch| puts sMatch; C> ''} Don't give the possibility to backtrace, something like gsub(/<(?>[^">]+|"[^"]*")+>/) probably there is a better way to write it Guy Decoux