Limitations
The worker stops after a short timeout. Results are capped at 150 matches, and offsets count UTF-16 code units.
Frequently asked questions
Why did my pattern time out?
Nested repetitions can cause excessive backtracking. Test a shorter input or rewrite the repeated groups.
Test your web code in the live HTML workspace.