[Bug:1.8] /abc\A?/.match("")

e$B0J2<$N$h$&$K6uJ8;zNs$KBP$7e(B /abc\A?/ e$B$O%^%C%A$7$^$9$,e(B
/(?:a)bc\A?/ e$B$O%^%C%A$7$^$;$s!#e(B

a e$B$He(B (?:a)
e$B$N0c$$$G$=$N$h$&$JJQ2=$,@8$8$k$N$OJQ$G$O$J$$$G$7$g$&$+!#e(B

% ./ruby -ve ‘p(/abc\A?/.match(""))’
ruby 1.8.7 (2008-06-08 patchlevel 5000) [i686-linux]
#<MatchData “”>

% ./ruby -ve ‘p(/(?:a)bc\A?/.match(""))’
ruby 1.8.7 (2008-06-08 patchlevel 5000) [i686-linux]
nil

e$B%A%1%C%He(B #114 e$B$,99?7$5$l$^$7$?!#e(B (by Shyouhei U.)

ruby -v ruby 1.8.7 (2008-06-08 patchlevel 5000)
[i686-linux]e$B$+$ie(Bruby 1.8.8dev (2010-09-24 revision 27061)
[x86_64-linux]e$B$KJQ99e(B

e$B$I$&$b:#e(Bredminee$B$GL$2r7h$Ne(Bissuee$B$NCf$G$O$3$l$,0lHV8E$=$&$J$N$G$9$,!"$^$@:F8=$7$^$9!#e(B

http://redmine.ruby-lang.org/issues/show/114

チケット #114 が更新されました。 (by Shyouhei U.)

(2010/12/19 22:52), Yukihiro M. wrote:

私の反応が悪い時はつついてく
ださい。

どうなってるんですか?

$B$^$D$b$H(B $B$f$-$R$m$G$9(B

In message “Re: [ruby-dev:42815] [Ruby 1.8-Bug#114] /abc\A?/.match(”“)”
on Mon, 20 Dec 2010 01:47:41 +0900, Shyouhei U.
[email protected] writes:

|(2010/12/19 22:52), Yukihiro M. wrote:
|> $B;d$NH?1~$,0-$$;~$O$D$D$$$F$/(B
|> $B$@$5$$!#(B
|
|$B$I$&$J$C$F$k$s$G$9$+(B?

$B%P%0$G$"$jD>$9$Y$-$@$H;W$$$^$9!#(B