private int checkForSpecialChars(String name, int start, int end, int patternIndex) {
    if (end < 0) return -1;

    // pattern humps are allowed to match in words separated by " ()", lowercase characters aren't
    if (!myHasSeparators && !myHasHumps && Strings.containsAnyChar(name, myHardSeparators, start, end)) {
      return -1;
    }
    // if the user has typed a dot, don't skip other dots between humps
    // but one pattern dot may match several name dots
    if (myHasDots && !isPatternChar(patternIndex - 1, '.') && Strings.contains(name, start, end, '.')) {
      return -1;
    }
    return end;
  }
private int checkForSpecialChars(String name, int start, int end, int patternIndex)