@Override protected boolean matches(String pattern, int patternIndex) { boolean matches = super.matches(pattern, patternIndex); if (matches) { matchesCache.put(pattern, ds); } return matches; } }
@Override protected boolean matches(String pattern, int patternIndex) { boolean matches = super.matches(pattern, patternIndex); if (matches) { matchesCache.put(pattern, ds); } return matches; } }