private boolean needConnect(CharBuffer chars, ParseContext context) {
        if (!context.inLeftSquareBracket()) {
            return false;
        }
        Character next1 = chars.lookAhead(1);
        Character next2 = chars.lookAhead(2);
        if ((next1 != null && '-' == next1) && (next2 != null & ']' != next2)) {
            return true;
        }
        return false;
    }