Bug #113

Complex("1i") clear $~

Added by Anonymous almost 7 years ago. Updated about 4 years ago.

[ruby-dev:34991]
Status:Closed
Priority:Low
Assignee:Yukihiro Matsumoto
ruby -v: Backport:

Description

=begin
同様に、Complex("1i") も $~ を nil にするようです。

% ./ruby -e '

/a/ =~ "a"
p $~
p Complex("1i")
p $~'
#
Complex(0, 1)
nil

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

History

#1 Updated by Yukihiro Matsumoto almost 7 years ago

  • Assignee set to Yukihiro Matsumoto

=begin

=end

#2 Updated by Anonymous almost 7 years ago

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

=begin
Applied in changeset r17148.
=end

#3 Updated by Anonymous almost 7 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 $~'
#
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

Also available in: Atom PDF