RegExp group is always empty
----------------------------

                 Key: JRUBY-5579
                 URL: http://jira.codehaus.org/browse/JRUBY-5579
             Project: JRuby
          Issue Type: Bug
    Affects Versions: JRuby 1.6RC3
            Reporter: Hannes Wallnoefer
            Assignee: Thomas E Enebo
            Priority: Minor


The following regular expression always produces an empty group:

/(a|b*)*/.match('a')

This is independent from the input string - the group is empty with 'a', 'b', 
'bbb', 'babab' etc. 

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