Issue #113 has been updated by Anonymous.

Status changed from Open to Closed
% Done changed from 0 to 100

Applied in changeset r17148.
----------------------------------------
Bug #113: Complex("1i") clear $~
http://redmine.ruby-lang.org/issues/show/113

Author: Anonymous
Status: Closed
Priority: Low
Assigned to: Yukihiro Matsumoto
Category: Target version: 同様に、Complex("1i") も $~ を nil にするようです。

% ./ruby -e '        /a/ =~ "a"
p $~
p Complex("1i")
p $~'
#<MatchData "a">
Complex(0, 1)
nil

ちなみに Complex("i") は ArgumentErrorになってしまうので 1i
としました。
-- [田中 哲][たなか あきら][Tanaka Akira]


----------------------------------------
You have received this notification because you have either subscribed toit, or are involved in it.
To change your notification preferences, please click here: http://redmine.ruby-lang.org/my/account