Sets of characters with efficient range representations.
Includes large unicode characters, and so we can't use the Character class directly. Instead the API uses strings of one character (for small unicode characters) or two surrogates (for large unicode characters).
Sets of characters with efficient range representations. Includes large unicode characters, and so we can't use the Character class directly. Instead the API uses strings of one character (for small unicode characters) or two surrogates (for large unicode characters).
All unicode characters except (invalid) unpaired surrogates.
All unicode characters except (invalid) unpaired surrogates.
(difference charset-1 charset-2)
Returns a variant of the first charset without any of the characters in the second charset.
Returns a variant of the first charset without any of the characters in the second charset.
(intersection charset-1 charset-2)
Returns the intersection of the two charsets.
Returns the intersection of the two charsets.
(nth charset idx)
Returns the character string from the charset at the given index, which must be (<= 0 idx (dec (size charset))).
Returns the character string from the charset at the given index, which must be (<= 0 idx (dec (size charset))).
(range char-string-1 char-string-2)
Creates a charset from a range with an lower and upper bound, both inclusive.
Creates a charset from a range with an lower and upper bound, both inclusive.
This is everything that \R matches, excepting the two character string "\r\n".
This is everything that \R matches, excepting the two character string "\r\n".
(singleton char-string)
Creates a charset from a single character string.
Creates a charset from a single character string.
(size charset)
Returns the size of the charset.
Returns the size of the charset.
(union charset-1 & more)
Returns the union of the given character sets.
Returns the union of the given character sets.
(union* charset-1 charset-2)
Returns the union of the two charsets.
Returns the union of the two charsets.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close