Quick answer

The Match Debugger runs your regex against the test string.

Match Debugger Invalid Pattern

The Match Debugger runs your regex against the test string. If the pattern has a syntax error (unclosed group, bad escape, invalid quantifier), the debugger cannot run and shows an error.

Common causes

How to fix

Examples

Bad

[a-z

Good

[a-z]+

FAQ

What does Match Debugger show?
Start index, end index, length, matched text, and capture groups for each match. Use it when you need character positions for debugging.
Same API as Regex Tester?
Yes. Match Debugger uses POST /api/v1/test/regex with the same body (pattern, testString, flags).

Fix it now

Try in validator (prefill this example)

Related

All tools · Canonical