uCalc API Version: 5.7.0-preview.1 Released: 7/30/2026

Warning

uCalc API Preview Release Notice:This preview documentation describes the intended behavior of the API. It is not fully accurate or complete.The current preview build contains incomplete features, unoptimized performance, and is subject to breaking changes.Use of the preview version in your production code is not recommended.

RegExGrammar

Enum

Product: 

Class: 

RegEx grammar option for defining tokens

Name Value Description
Default

Default grammar; ECMAScript is the default

ECMAScript

JavaScript-like regex grammar

basic

Basic POSIX grammar (BRE)

extended

Extended POSIX grammar (ERE)

awk

awk POSIX grammar

grep

grep POSIX grammar

egrep

egrep POSIX grammar

ICU

+++ International Components for Unicode will be the new default

Remarks

When tokens are defined with [topic: uCalc.Tokens.Add] a RegEx grammar from this list can be selected.These are based on the C++ standard library options for regular expressions.

International Components for Unicode will be the new default

Examples