private static void parseQuantifierType(PsiBuilder builder) {
    if (builder.getTokenType() == RegExpTT.PLUS || builder.getTokenType() == RegExpTT.QUEST) {
      builder.advanceLexer();
    }
    else {
      if (RegExpTT.QUANTIFIERS.contains(builder.getTokenType())) {
        builder.error(RegExpBundle.message("error.dangling.metacharacter", builder.getTokenText()));
      }
    }
  }
private static void parseQuantifierType(PsiBuilder builder)