in reply to Re^3: Regex for weird characters
in thread Regex for weird characters

You absolutely can not use perl's shortcut character classes. \w matches different things depending on your locale. If you have a German locale, for instance, it will match ß.