-
Type:
Bug
-
Resolution: Won't Fix
-
Priority:
P3
-
None
-
Affects Version/s: 5.0
-
Component/s: core-libs
-
sparc
-
solaris_9
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.
As a practical matter the parent pattern is oftentimes on hand, however one could easily envision situations where that would not be the case.