Pattern.namedGroups() made public