String (@NotNull Matcher matcher) { final String localVersion = matcher.group(LOCAL_VERSION_GROUP); if (localVersion != null) { return localVersion.substring(1).replaceAll("[-_]", "."); } return null; }