docs: public boolean match(String str, String regex) {
  		if (str == null || regex == null)
  			return false;
  		if (regex.trim().isEmpty())
  			return true;
  		return Pattern.compile(regex.trim()).matcher(str).find();
  	}