Capabilities
This parser is built to be complete and dependable across major regex flavors. Validation follows official engine behavior, so if a pattern is accepted here, it aligns with what the target engine expects.
Flavor support
Full syntax support for:
- PCRE2
- PCRE
- Python
- ECMAScript / JavaScript
- Rust
- Go
- .NET
- Java
Syntax coverage
The parser handles complete flavor syntax, including:
- Backreferences
- Subroutine calls
- Conditional expressions
- Atomic groups
- Lookbehinds
- Named groups
- Possessive quantifiers
- Flavor-specific edge cases
Output and metadata
- Fully typed AST
- Typed token stream for syntax highlighting and editor UX
- Detailed diagnostics with source ranges
- Error recovery support
- Token-level metadata
- Source-map style positional accuracy for editor integrations
Future
- Linting or best-practice hints
- Complexity/risk scoring
- Catastrophic backtracking detection
These are strong candidates for future releases.