benilla-re systems structs docs

RegexSearch

function · unassigned · orchestration

Address
0x71fc70 · 347 bytes, up to 0x71fdca
Signature
int32_t __fastcall (void *preg, const char *string, uint32_t nmatch, void *pmatch, int32_t eflags)
Meaning
Runs a compiled pattern over a whole string without a UTF-8 check and fills up to nmatch offset pairs
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 3

Callees 2

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