How this regex tester works
Your pattern is compiled with new RegExp(pattern, flags) using standard
JavaScript regex syntax, then matched against the test string with matchAll.
Matches are highlighted inline so you can see exactly what your expression captures.
Everything runs client-side.