From: Jonatas Paganini Date: 2009-03-06T21:32:20+09:00 Subject: regexp problem /[éê]/ || /é|ê/ Hi, I got a problem try to replace accentuated characters like: >irb irb(main):001:0> irb(main):002:0* name = "Fênix" => "F\303\252nix" irb(main):003:0> name.gsub(/[éê]/,'e') => "Feenix" irb(main):004:0> name.gsub(/é|ê/,'e') => "Fenix" What's the difference between /[éê]/ and /é|ê/ ? ps: ruby -v ruby 1.8.6 (2007-09-24 patchlevel 111) [x86_64-linux] -- Posted via http://www.ruby-forum.com/.