![]() |
|
|
Issue Type:
|
Bug
|
Affects Versions:
|
JRuby 1.7.0.pre2, JRuby 1.6.7 |
Assignee:
|
Unassigned |
Attachments:
|
fix_index.patch |
Components:
|
Java Integration |
Created:
|
24/Aug/12 1:07 AM
|
Description:
|
runnning follow code
coding: utf-8
str = "ããããããããã‘ã“"
s = str.slice(3..-1) # => "ãããããã‘ã“"
s.index(/[^ ]/) # => 3
but in CRuby 1.9.3
coding: utf-8
str = "ããããããããã‘ã“"
s = str.slice(3..-1)
s.index(/[^ ]/) # => 0
String#rindex have similar problem.
attachment patch file(and spec) will fix this problem.
|
Environment:
|
Jruby 1.7.0 pre2
OS X 10.8
java version "1.6.0_33"
Java(TM) SE Runtime Environment (build 1.6.0_33-b03-424-11M3720)
Java HotSpot(TM) 64-Bit Server VM (build 20.8-b03-424, mixed mode)
|
Project:
|
JRuby
|
Priority:
|
Major
|
Reporter:
|
Tsuyoshi Yamane
|
|
|
|
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
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