I think in ruby 1.9 `/[[:alnum:]_-]/` will match all UTF8 chars, see http://rubular.com/r/6MRH5fg91M