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