=~/\p{L}/
当我在Rubular上测试时- 它适用于选择的版本 1.9.2
但是irb:
>> RUBY_VERSION
=> "1.9.3"
?> "test test".match(/\p{L}/)
SyntaxError: (irb):3: invalid character property name {L}: /\p{L}/
from C:/Ruby193/bin/irb:12:in `<top (required)>'
from -e:1:in `load'
from -e:1:in `<main>'
为什么?