From: "Emili ParreƱo" Date: 2010-05-10T21:06:33+09:00 Subject: Issue with regular expressions and locales --0016367fae3330442804863c3d90 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi there! I've experienced a courious issue with regular expressions: my locale is es_ES.utf-8 and I use gsub with regular expresisons to transform an articl= e title in a permalink like this permalink.gsub!(/\W/, '-') What's the problem? In my local system I get this "=C2=BF" =3D~ /\W/ =3D> 0 but in another systems with english locale I have this other result "=C2=BF" =3D~ /\W/ =3D> nil Is this a bug or regular expressions matching depends on system locale? Thanks. --=20 Emili Parre=C3=B1o - www.eparreno.com Ruby/Rails Consultant & Trainer - www.prorubyteam.com --0016367fae3330442804863c3d90--