code: public int find(PatternConstant constant) {
          char[] cs = constant.getCharArray();
          boolean ignoreCase = constant.isIgnoreCase();
  
          return find(cs, ignoreCase);
      }
docs: Find constant in source text.
  
  @param constant constant pattern element
  @return index of constant of negative if don't find.