汉字的p 属性好像是 Han
实例如下: 'abc汉字abc' =~ /\p{Han}/, 我在ruby1.9.2的irb返回为3, 说明是可以的
ruby interpreter?是Interactive Ruby 还是 Start Command Promt with Ruby?
我用的版本是ruby1.9.2
你要不试下Dos命令看能不能执行
把程序(比如 helloworld.rb)复制到C:\Documents and Settings\Administrator
然后找到:开始-程序-附件-命令提示符 (或开始-运行-输入'cmd'回车确定)
输入helloworld回车
看看能不能运行