public static boolean isValidVersion ( final String version ) { return StringUtils . isNotBlank ( version ) && ( ALTERNATE_PATTERN . matcher ( version ) . matches ( ) || STANDARD_PATTERN . matcher ( version ) . matches ( ) ) ; }
Validates version .