From: ding ding Date: 2010-09-16T18:39:56+09:00 Subject: [ruby-core:32419] [Ruby 1.9-Bug#3838][Open] regexp for unicode property under windows Bug #3838: regexp for unicode property under windows http://redmine.ruby-lang.org/issues/show/3838 Author: ding ding Status: Open, Priority: Normal Target version: 1.9.2 ruby -v: ruby 1.9.2p0 (2010-08-18) [i386-mingw32] ���Ruby 1.9.2-p0 RubyInstaller (md5: 21bf42f7ec4b8a831c947d656509cddb) Stable version such regexp will cause an error: /\p{Lu}/ irb(main):002:0> /\p{Han}/ SyntaxError: (irb):2: invalid character property name {Han}: /\p{Han}/ from C:/Ruby192/bin/irb:12:in `
' irb(main):003:0> /\p{Lu}/ SyntaxError: (irb):3: invalid character property name {Lu}: /\p{Lu}/ from C:/Ruby192/bin/irb:12:in `
' irb(main):004:0> while this is all right: /\p{Alpha}/ irb(main):001:0> /\p{Alpha}/ => /\p{Alpha}/ ---------------------------------------- http://redmine.ruby-lang.org