if (end && wordPos != word.length() - 1)
if (end && wordPos != word.length())
    public boolean isMatching(StringBuffer word, int wordPos) {      boolean matching = true, inMulti = false, multiMatch = false;      char matchCh;      for (int matchPos = 0; matchPos < match.length; matchPos++) {        matchCh = match[matchPos];        if (matchCh == STARTMULTI || matchCh == ENDMULTI) {          inMulti = !inMulti;          if (!inMulti)            matching = matching & multiMatch;          else            multiMatch = false;        } else {          if (matchCh != word.charAt(wordPos)) {            if (inMulti)              multiMatch = multiMatch | false;            else              matching = false;          } else {            if (inMulti)              multiMatch = multiMatch | true;            else              matching = true;          }          if (!inMulti)            wordPos++;          if (!matching)            break;        }      }      if (end && wordPos != word.length() - 1)        matching = false;      return matching;    }