Kenneth Lin created JRUBY-6623: ---------------------------------- Summary: regex returns nil instead of 0 on match Key: JRUBY-6623 URL: https://jira.codehaus.org/browse/JRUBY-6623 Project: JRuby Issue Type: Bug Affects Versions: JRuby 1.7 Reporter: Kenneth Lin Assignee: Thomas E Enebo
jruby-1.6.7 :001 > '2300' =~ /\A(([0-1][0-9])|([2][0-3]))[0-5][0-9]\z/ => 0 jruby-1.7.0.dev :001 > '2300' =~ /A(([0-1][0-9])|([2][0-3]))[0-5][0-9]z/ => nil -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.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