Issue Type: Bug Bug
Affects Versions: JRuby 1.7.0.RC1
Assignee: Unassigned
Components: Core Classes/Modules
Created: 08/Oct/12 9:42 AM
Description:

MRI behavior:

mri19 -e 'a = "![CDAT".force_encoding("UTF-8"); p a =~ /!\[CDAT/i'
0

JRuby behavior:

jruby -e 'a = "![CDAT".force_encoding("UTF-8"); p a =~ /!\[CDAT/i'
nil

pragdave's original observation that it works with a smaller substring is interesting:

jruby -e 'a = "![CDAT".force_encoding("UTF-8"); p a =~ /!\[CDA/i'
0
Fix Versions: JRuby 1.7.0
Project: JRuby
Priority: Major Major
Reporter: Thomas E Enebo
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

Reply via email to