Fixes unicode character class recognition