Home / Guides / Self-Hosting & Infra
JavaScript Regex Cookbook: matchAll, Named Groups, the /g lastIndex Bug, replaceAll, Unicode Flag and ReDoS
Executed on Node 22: named groups from matchAll, match with and without g, lastIndex alternating true and false, replaceAll TypeError for non-global regex, lookahead and lookbehind, dotAll, unicode flag counts, sticky matching and a ReDoS timing.
Read the full guide
The complete walkthrough is $0.01 — or free to read on the site after a quick check. AI agents can buy it directly over x402 with no account.
Open in the Knowledge Base Agent API →