From: Verno Miller Date: 2006-09-21T17:25:07+09:00 Subject: Re: Unicode and Character Classes -- a bug? >Jordan Callicoat wrote: > Daniel DeLorme wrote: > > ... > >> WTF? Can anyone explain this? > > Not really, because I don't understand Oniguruma (the regexp engine); > I'm barely smart enough to _use_ regexps. ;) But seemingly, you can't > use hex escapes in character classes, so you have to use the literal or > do other things to work around it (see last two posts above). > > Regards, > Jordan Just a pointer to some examples how to parse UTF-8 encoded strings in Ruby: http://bigbold.com/snippets/posts/show/1659 -- Posted via http://www.ruby-forum.com/.