- Added a fallback mechanism that recovers from invalid regex patterns by treating them as literals instead of failing.
- Enabled this behavior by default, allowing valid regex alternatives to retain their functionality when mixed with invalid patterns.
- Updated the extended regex flag to enforce strict syntax parsing and return errors for invalid patterns.