Fast Math Parser and Innovative token-aware text parser/transformer
uCalc API Version: 2.1.3-preview.2 Released: 6/16/2026
Warning
uCalc API Preview Release Notice:The documentation describes the intended behavior of the API. The current preview build contains incomplete features, unoptimized performance, and is subject to breaking changes.
Regex pattern that causes a return to the original token list
InsertionPointB
int32
(Default = -1)
Where in the other token list (a copy of it) to insert the ending token
Return
Tokens
Current token list
Remarks
[revisit]This causes a context switch to happen when a given token pattern is reached. This is useful for instance if are parsing source code, and you want comments to be parsed based on a different set of tokens from the rest of the code.
This version of the function lets you decide where in the token list to insert the context switching token.