Regex too complex
type | https://docs.frem.sh/reference/api/errors/regex-too-complex |
| HTTP status | 400 Bad Request |
What it means
The custom pattern repeats more than 256 times ({n,m}) or nests groups more than 6 deep.
What to do
Simplify the pattern. See Custom patterns.
Response shape
All fremforge API errors are RFC 9457 problem+json:
{
"type": "https://docs.frem.sh/reference/api/errors/regex-too-complex",
"title": "Bad Request",
"status": 400,
"detail": "..."
}Branch on type, not on title or detail - those are human-readable and may be reworded.