Issue #5652 has been reported by Ken Takata.

----------------------------------------
Bug #5652: /\p{Other_Default_Ignorable_Code_Point}/ causes invalid character property name error
http://redmine.ruby-lang.org/issues/5652

Author: Ken Takata
Status: Open
Priority: Normal
Assignee: 
Category: 
Target version: 1.9.3
ruby -v: ruby 1.9.3p0 (2011-10-30) [i386-mswin32_100]


Unicodeプロパティ名の中で最大長の \p{Other_Default_Ignorable_Code_Point} がエラーになります。

>irb --encoding=UTF-8
irb(main):001:0> /\p{Other_Default_Ignorable_Code_Point}/ =~ 'a'
SyntaxError: (irb):1: invalid character property name {Other_Default_Ignorable_Cod...}: /\p{Other_Default_Ignorable_Code_Point}/
        from C:/Program Files (x86)/Ruby-1.9.3-p0/bin/irb.bat:19:in `<main>'

PROPERTY_NAME_MAX_SIZEを +1 する必要があると思います。


-- 
http://redmine.ruby-lang.org