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 `’

will anyone explain this?

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

On Sep 15, 6:40 am, Ntys Dd [email protected] wrote:

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

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.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs