From: "ara.t.howard" Date: 2007-07-08T02:52:49+09:00 Subject: Re: flatulent-0.0.3 On Jul 7, 2007, at 11:41 AM, jannis@harderweb.de wrote: > > > 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 > > my version doesn't seem to have line breaks - here it is: http://drawohara.tumblr.com/post/5164285 thanks for having a go - i'm not sure this can be made to work, but i'm still very interested in an ImageMagick-less captcha system. cheers -a -- we can deny everything, except that we have the possibility of being better. simply reflect on that. h.h. the 14th dalai lama