code: public static boolean matches(String value, String prefix, String middle, 
  			String postfix) {
  		String pattern = prefix + middle + postfix;
  		boolean result = value.matches(pattern);
  		return result;
  	}
docs: Check whether value matches the pattern build with prefix, middle part
  and post-fixer.
  
  @param value a value to be checked
  @param prefix a prefix pattern
  @param middle a middle pattern
  @param postfix a post-fixer pattern
  @return true if value matches pattern otherwise false