uCalc API Version: 2.1.3-preview.2 Released: 6/17/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.

FocusMatch *

Product: 

Class: 

Remarks

[revisit]

This indicates a subsection of the match that will be saved as the match. If you want to match a pattern, but only want a subsection of the match to be counted as a match, then append the * indicator. Only one FocusMatch per pattern is effective. If you have more than one, then the first one encountered is selected. However, if you have optional or alternative patterns within [] and |, then you can technically have more than one, but only the one that is used will count.

With this rule:

Pattern: <>Replacement: ""

xyz <123> aaa would be replaced with:"" xyz "<123>" aaa ""

However, if you don't want the angle brackets to be part of the match you can do:Pattern: Pattern: <{text*}>

And you'll get:"abc" xyz "123" aaa "cde"

Examples