code: @Override
  	protected boolean doCompare(final Object aVal, final Object bVal) {
  		// Cannot compare if either value is null (This matches client side logic)
  		if (aVal == null || bVal == null) {
  			return false;
  		}
  
  		final String aStr = aVal.toString();
  		final String bStr = bVal.toString();
  
  		try {
  			return aStr.matches(bStr);
  		} catch (PatternSyntaxException e) {
  			LOG.warn("Invalid pattern (" + bStr + "). Will be ignored and condition will be false.");
  			return false;
  		}
  	}
docs: {@inheritDoc}