Difference in regular expression behavior between 
--------------------------------------------------

                 Key: JRUBY-1109
                 URL: http://jira.codehaus.org/browse/JRUBY-1109
             Project: JRuby
          Issue Type: Bug
          Components: Core Classes/Modules
    Affects Versions: JRuby 1.0.0RC3
         Environment: Duplicated on Mac 10.4, also in JRuby on Solaris, MRI on 
SUSE Enterprise
            Reporter: Jason Mark


We're getting the following difference in behavior between JRuby and MRI:

"\013foobar\034\015" =~ /^\013(.*)\034\015$/

jruby => nil
mri ruby => 0 (with matches)

In jRuby we don't get any matches returned ($1 == nil) in mri ruby ($1 == 
"foobar")

-- 
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

Reply via email to