common/src/main/java/com/streamsets/pipeline/lib/parser/shaded/org/aicer/grok/util/Grok.java
public Map<String, String> extractNamedGroups(final CharSequence rawData) {
    Matcher matcher = compiledPattern.matcher(rawData);
    if (matcher.find()) {
      MatchResult r = matcher.toMatchResult();
      if (r != null && r.namedGroups() != null) {
        return r.namedGroups();
      }
    }

    return null;
  }
public Map<String, String> extractNamedGroups(final CharSequence rawData) {
    Matcher matcher = compiledPattern.matcher(rawData);
    if (matcher.find()) {
      MatchResult r = matcher.toMatchResult();
      if (r != null && r.namedGroups() != null) {
        return r.namedGroups();
      }
    }

    return null;
  }
public Map < String , String > extractNamedGroups ( final CharSequence rawData ) { Matcher matcher = compiledPattern . matcher ( rawData ) ; if ( matcher . find ( ) ) { MatchResult r = matcher . toMatchResult ( ) ; if ( r != null && r . namedGroups ( ) != null ) { return r . namedGroups ( ) ; } } return null ; }
Extracts named groups from the raw data

@param rawData
@return A map of group names mapped to their extracted values or null if there are no matches
Extracts named groups from the raw data