add

fun add(str: String, escape: Boolean = true)

Append a raw string of characters to the regex.

See also

Parameters

escape

If set to false, the function will not escape the string before appending it to the regex, so it can add metacharacters.


fun add(token: KetexToken)
fun add(set: KetexSet)
fun add(group: KetexGroup)