code: public Pattern getPattern(String name, Pattern defaultValue) {
  		String valString = get(name);
  		if (null == valString || valString.isEmpty()) {
  			return defaultValue;
  		}
  		try {
  			return Pattern.compile(valString);
  		} catch (PatternSyntaxException pse) {
  			LOG.warn("Regular expression '" + valString + "' for property '" +
  					name + "' not valid. Using default", pse);
  			return defaultValue;
  		}
  	}
docs: Get the value of the <code>name</code> property as a <code>Pattern</code>.
  If no such property is specified, or if the specified value is not a valid
  <code>Pattern</code>, then <code>DefaultValue</code> is returned.
  Note that the returned value is NOT trimmed by this method.
  
  @param name property name
  @param defaultValue default value
  @return property value as a compiled Pattern, or defaultValue