Bug #113
closedComplex("1i") clear $~
Description
=begin
同様に、Complex("1i") も $~ を nil にするようです。
% ./ruby -e '
/a/ =~ "a"
p $~
p Complex("1i")
p $~'
#<MatchData "a">
Complex(0, 1)
nil
ちなみに Complex("i") は ArgumentError になってしまうので 1i
としました。
[田中 哲][たなか あきら][Tanaka Akira]
=end
Updated by matz (Yukihiro Matsumoto) over 16 years ago
- Assignee set to matz (Yukihiro Matsumoto)
=begin
=end
Updated by Anonymous over 16 years ago
- Status changed from Open to Closed
- % Done changed from 0 to 100
=begin
Applied in changeset r17148.
=end
Updated by Anonymous over 16 years ago
=begin
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 to it, or are involved in it.
To change your notification preferences, please click here: http://redmine.ruby-lang.org/my/account
=end