From: "jannis@..." Date: 2007-07-08T02:41:09+09:00 Subject: Re: flatulent-0.0.3 On 7 Jul., 19:17, "ara.t.howard" wrote: > def deflatulent string > if string =~ /
(.*?)<
> \/ pre>/m   ########## there is a space before pre
>        string = $1
>        [[/<\/?span>/,''],[" "," "],["
","\n"],["<","<"], > [">",">"],[""",'"'],["&","&"]].each do |args| > string.gsub!(*args) > end > end It seems that google groups added line breaks inside the regexp that somehow turned into spaces for you... try it without the space before pre... if that doesn't work I can upload my code somewhere... -- Jannis Harder