category

val category: (Character.UnicodeScript) -> KetexToken

Append a subpattern/backreference token (\#) to the regex.

This will match a repeat of the text matched and captured by the capture group # (number) specified.