From: Dido Sevilla Date: 2006-10-30T00:26:49+09:00 Subject: Re: regexp to match CJK characters On 10/29/06, Cafe Babe <0xcafebabe@163.com> wrote: > UTF-8 > > and > > $KCODE='u' > require_dependency 'jcode', You may need to use the Oniguruma patch. I believe this is necessary to give regular expressions support for character sets other than plain ASCII. http://www.geocities.jp/kosako3/oniguruma/ If you're using Gentoo, all you need to do is remerge Ruby with the cjk use flag turned on. For other systems, you may need to download and apply the patch manually. See the Oniguruma site for more details. If you're using a 1.9 Ruby, Oniguruma is already built-in.