Regexp property under windows

though properties of regexp under Linux is OK,ruby under windows doesn't
support that.
such as /\p{Han}/,
you will always get an error.

irb(main):001:0> /\p{Han}/
SyntaxError: (irb):1: invalid character property name {Han}: /\p{Han}/
        from C:/Ruby192/bin/irb:12:in `<main>'

will anyone explain this?

i use ruby 1.9.2p0 (2010-08-18) [i386-mingw32]

···

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

That seems a bug.

Ruby Regexp is bundled by Ruby, not depending on 3rd party libraries
that could have affected it's compilation

If no other answer shows up that explain this, please create a bug
report in Ruby Redmine installation:

And provide enough information about your setup, specially if you
compiled Ruby or downloaded binaries.

···

On Sep 15, 6:40 am, Ntys Dd <nty...@gmail.com> wrote:

though properties of regexp under Linux is OK,ruby under windows doesn't
support that.
such as /\p{Han}/,
you will always get an error.

irb(main):001:0> /\p{Han}/
SyntaxError: (irb):1: invalid character property name {Han}: /\p{Han}/
from C:/Ruby192/bin/irb:12:in `<main>'

will anyone explain this?

i use ruby 1.9.2p0 (2010-08-18) [i386-mingw32]

--
Luis Lavena