private static String normalizeGLibcVersion(final String rawGlibcVersion) {
    final Pattern pattern = Pattern.compile("[-+]?[0-9]*\\.?[0-9]+");
    final Matcher matcher = pattern.matcher(rawGlibcVersion);

    return matcher.find() ? matcher.group() : null;
  }
Normalize java version string.

@param javaVersion the java version
@return the string
util/src/main/java/org/hyperledger/besu/util/platform/PlatformDetector.java