Return a map of the capturing groups in this matcher's pattern, where key is the name and value is the index of the group in the pattern.
()
| 329 | * is the index of the group in the pattern. |
| 330 | */ |
| 331 | public Map<String, Integer> namedGroups() { |
| 332 | return Collections.unmodifiableMap(re2.namedGroups); |
| 333 | } |
| 334 | |
| 335 | Object readResolve() { |
| 336 | // The deserialized version will be missing the RE2 instance, so we need to create a new, |
no outgoing calls