Actions
Bug #3838
closedregexp for unicode property under windows
Description
=begin
•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 <main>' 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}/
=end
Actions
Like0
Like0Like0Like0