On Sep 15, 6:40 ¨Âí¬ Îôùó Ää ¼îôù®®®Àçíáéì®ãïí¾ ÷òïôåº > 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] 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: http://redmine.ruby-lang.org/ And provide enough information about your setup, specially if you compiled Ruby or downloaded binaries. -- Luis Lavena