Issue #5208 has been reported by Ken Takata.

----------------------------------------
Bug #5208: \b and \B don't match properly
http://redmine.ruby-lang.org/issues/5208

Author: Ken Takata
Status: Open
Priority: Normal
Assignee: 
Category: 
Target version: 
ruby -v: ruby 1.9.2p136 (2010-12-25 revision 30365) [i386-mswin32]


????????????????????????????

\b, \B???正?????????????????????????????????????????????????????
ruby 1.9.2?????\w??????????????????????????????????????????????鬼????修正???????????????????????????
\b, \B?????????\w, \W??対???????????????修正??????????????????????????

???:
C:\>type x.rb
#! ruby -Ks
p /\B/ =~ "?????????abc"
p $'
p /\b/ =~ "?????????abc"
p $'

C:\>ruby x.rb
1
"??????abc"
0
"?????????abc"

??????????????:
C:\>ruby x.rb
0
"?????????abc"
3
"abc"


?????????????????????????鬼???????????????Perl 5.14????????????(?au)???\w????
??????????????????????????????????御????????????????????????????
https://github.com/k-takata/Onigmo


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