benilla-re systems structs docs

RegexCompile

function · unassigned · orchestration

Address
0x71fba0 · 109 bytes, up to 0x71fc0c
Signature
int32_t __fastcall (void *preg, const char *pattern, int32_t cflags)
Meaning
Compiles a pattern as UTF-8 without a check, caseless for flag 1 and multi-line for flag 2
Confidence
verified, proof one
Finding
ui/chatfilter#regular-expression-options

Finding: Regular expression options in ui: the spam and profanity filters

Every pattern is compiled case-insensitively, as UTF-8 with no validity check, and every match is run with the options 0x2000 (no check) and one match per call. In patterns \< and \> are both word boundary assertions, the same as \b and neither directional. Case folding is for ASCII only, and a code point of 256 or above is not a word character.

The derivation is in the doc.

Callers 2

Callees 3

Calls and jumps by a bare address, from tables/calls.tsv.