Add new member to java.util.regex.MatchResult interface

XMLWordPrintable

    • Type: Bug
    • Resolution: Won't Fix
    • Priority: P3
    • None
    • Affects Version/s: 5.0
    • Component/s: core-libs

      The MatchResult interface is essentially a read-only view of the results of a matching operation. However, a MatchResult contains no information about what Pattern was matched against. So if a MatchResult is passed somewhere, the group information it contains may be hard to interpret if the Pattern to which it refers cannot be examined.

      As a practical matter the parent pattern is oftentimes on hand, however one could easily envision situations where that would not be the case.

            Assignee:
            Xueming Shen
            Reporter:
            Michael Mccloskey (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: