The special global variables "$=" and "$~" are not defined
----------------------------------------------------------
Key: JRUBY-1028
URL: http://jira.codehaus.org/browse/JRUBY-1028
Project: JRuby
Issue Type: Bug
Components: Core Classes/Modules
Affects Versions: JRuby 1.0.0RC2
Environment: OS X 10.4.9, Java 1.5, JRuby rev 3672
Reporter: Daniel Berger
Fix For: JRuby 1.0.0RC3
Neither $= (aka $IGNORECASE) nor $~ (aka $LAST_MATCH_INFO) appear to be
defined/set:
{noformat}
require 'test/unit'
require 'English'
class TC_English < Test::Unit::TestCase
def test_english_ignore_case
assert_not_nil($IGNORECASE)
assert_equal($=, $IGNORECASE)
end
def test_english_last_match_info
"foo" =~ /foo/
assert_not_nil($LAST_MATCH_INFO)
assert_equal($~, $LAST_MATCH_INFO)
end
end
{noformat}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email