finesse.script.tokens

Regular expressions for matching tokens of different types in kat script.

Any new token types added here should be added to tokenizer.py and highlighter.py as well.

Functions

any(*choices)

Specify that there should be zero or more of the specified choices.

group(*choices)

Match any of the specified choices.

maybe(*choices)

Specify that there should be zero or one of the specified choices.