Does Oniguruma support unicode properties?

Well,when i want to use property in the regexp,ruby does complain that
bad property,but i never find any good property it accepts.Now i have a
question,does it support unicode property,such as \p{Han}??Or is it just
dummy?

···

--
Posted via http://www.ruby-forum.com/.

http://www.geocities.jp/kosako3/oniguruma/doc/RE.txt

Just make sure your String has correct Unicode encoding.

···

On Sat, Jun 12, 2010 at 11:57 AM, Ntys Dd <ntysdd@gmail.com> wrote:

Well,when i want to use property in the regexp,ruby does complain that
bad property,but i never find any good property it accepts.Now i have a
question,does it support unicode property,such as \p{Han}??Or is it just
dummy?

--
Michael Fellinger
CTO, The Rubyists, LLC.

Well,when i want to use property in the regexp,ruby does complain that
bad property,but i never find any good property it accepts.Now i have a
question,does it support unicode property,such as \p{Han}??Or is it just
dummy?

I put together http://redmine.ruby-lang.org/repositories/entry/ruby-19/doc/re.rdoc
which explains the supported properties. If you've got a recent build
of 1.9, it's accessible as `ri Regexp`.