Fixed word_movement feature on JRuby 1.7.5

- Had to change the regular expression that managaes word movement
  because the \w character class is explicitly defined for ascii
  characters in 1.9.x ruby.