Collect method for String Range is not working
----------------------------------------------
Key: JRUBY-3313
URL: http://jira.codehaus.org/browse/JRUBY-3313
Project: JRuby
Issue Type: Bug
Components: Core Classes/Modules
Affects Versions: JRuby 1.1.6
Environment: Mac OS X 10.5.5 (9F33)
Reporter: Tiago Bastos
Collect method for String Range is not working.
>> ("1".."31").collect
RegexpError: too short multibyte code string:
/[\xc0-\xdf][\x80-\xbf]|[\xe0-\xef][\x80-\xbf][\x80-\xbf]$/
from /Users/bastos/jruby-1.1.6/lib/ruby/1.8/jcode.rb:66:in `end_regexp'
from /Users/bastos/jruby-1.1.6/lib/ruby/1.8/jcode.rb:79:in `succ!'
from /Users/bastos/jruby-1.1.6/lib/ruby/1.8/jcode.rb:94:in `succ'
from (irb):4:in `each'
from (irb):4:in `collect'
from (irb):4
--
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