benilla-re systems structs docs

PcreCompile

function · unassigned · primitive

Address
0x720250 · 4222 bytes, up to 0x7212cd
Signature
void * __fastcall (const char *pattern, int32_t options, const char **error, int32_t *errorOffset, const uint8_t *tables)
Meaning
Compiles a pattern, taking the tables 0x873b40 for null ones and keeping null for them in the result
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 1

Callees 10

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