Built-in variables
There are currently 6 built-in variables:
Grapheme
matches a single extended grapheme cluster. It compiles to the regex\X
. Note that this functionality is not available in all regex flavors.G
is an alias forGrapheme
Codepoint
matches a single Unicode code point. It compiles to the regex[\s\S]
.C
is an alias forCodepoint
Start
: Matches the start of the string. Equivalent to^
.End
: Matches the end of the string. Equivalent to$
.