protected Pattern getPattern(String expression, boolean ignoreCase)
      throws ParseException {
      try {
        return Pattern.compile(expression,
                               Pattern.DOTALL | (ignoreCase
                                                 ? (Pattern.CASE_INSENSITIVE | Pattern.UNICODE_CASE)
                                                 : 0));
      }
      catch (PatternSyntaxException pse) {
        throw new ParseException("", pse.getIndex());
      }
    }
protected Pattern getPattern(String expression, boolean ignoreCase)