sb.append((char)'-');
sb.append('-');
    public String toString(int options) {        String ret;        if (this.type == RANGE) {            if (this == Token.token_dot)                ret = ".";            else if (this == Token.token_0to9)                ret = "\\d";            else if (this == Token.token_wordchars)                ret = "\\w";            else if (this == Token.token_spaces)                ret = "\\s";            else {                StringBuffer sb = new StringBuffer();                sb.append("[");                for (int i = 0;  i < this.ranges.length;  i += 2) {                    if ((options & RegularExpression.SPECIAL_COMMA) != 0 && i > 0)  sb.append(",");                    if (this.ranges[i] == this.ranges[i+1]) {                        sb.append(escapeCharInCharClass(this.ranges[i]));                    } else {                        sb.append(escapeCharInCharClass(this.ranges[i]));                        sb.append((char)'-');                        sb.append(escapeCharInCharClass(this.ranges[i+1]));                    }                }                sb.append("]");                ret = sb.toString();            }        } else {            if (this == Token.token_not_0to9)                ret = "\\D";            else if (this == Token.token_not_wordchars)                ret = "\\W";            else if (this == Token.token_not_spaces)                ret = "\\S";            else {                StringBuffer sb = new StringBuffer();                sb.append("[^");                for (int i = 0;  i < this.ranges.length;  i += 2) {                    if ((options & RegularExpression.SPECIAL_COMMA) != 0 && i > 0)  sb.append(",");                    if (this.ranges[i] == this.ranges[i+1]) {                        sb.append(escapeCharInCharClass(this.ranges[i]));                    } else {                        sb.append(escapeCharInCharClass(this.ranges[i]));                        sb.append('-');                        sb.append(escapeCharInCharClass(this.ranges[i+1]));                    }                }                sb.append("]");                ret = sb.toString();            }        }        return ret;    }