PcreCompile
function · unassigned · primitive
- Address
0x720250· 4222 bytes, up to0x7212cd- 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
- RegexCompile unassigned
Callees 10
- 0x721420 unassigned
- 0x721460 unassigned
- 0x721710 unassigned
- 0x7217a0 unassigned
- 0x721850 unassigned
- 0x7218a0 unassigned
- 0x723fb0 unassigned
- 0x724080 unassigned
- 0x724130 unassigned
- 0x724230 unassigned
Calls and jumps by a bare address, from tables/calls.tsv.