public static Pattern makePattern(final String expression){
  Check.notNull(expression,"expression");
  try {
    return Pattern.compile(expression,EXPRESSION_FLAGS);
  }
 catch (  final PatternSyntaxException e) {
    return null;
  }
}

public static Pattern makePattern ( final String expression ) { Check . notNull ( expression , "expression" ) ; try { return Pattern . compile ( expression , EXPRESSION_FLAGS ) ; } catch ( final PatternSyntaxException e ) { return null ; } }
creates a pattern from an expression using this class ' s preferred regex flags .
