set

inline fun set(negate: Boolean = false, block: KetexSet.() -> Unit): KetexSet

Create a character set ([abcedfu]) to the regex.

Match any character in the set.

See also

Parameters

negate

when set to true, the set will be negated ([^abcedfu]) and match any character not in the set.