code: public static BooleanBinding matches(final ObservableValue<String> text, final String pattern) {
  		return Bindings.createBooleanBinding(() -> {
  			final String textToVerify = text.getValue();
  			return textToVerify != null && textToVerify.matches(pattern);
  		}, text);
  	}
docs: Creates a boolean binding that is `true` when the given observable string matches the given RegExp pattern.
  
  @param text
  the observable string that is verified.
  @param pattern
  the RegExp pattern that is used.
  @return a boolean binding instance.