tr="meet"
tr.scan(/(.)\1/) {|x| x=x+'x'}   
print tr

What I want it to do is find doubles like the ee in meet and put an x
between them. Am i doing this wrong because x is part of an array now?