Overview
iregexp is a Dart package implementing RFC 9485's I-Regexp, an interoperable regular expression format designed for consistent behavior across platforms and languages. It validates I-Regexp patterns for correctness and supports matching either by substring or entire string. The package ensures reliable text pattern matching in cross-platform applications, making it ideal for developers needing predictable regex behavior without platform-specific quirks. Built with portability in mind, it works seamlessly on Android, iOS, Web, macOS, Windows, and Linux.
Use cases
- Cross-platform regex validation
- Interoperable pattern matching
- String validation in multi-platform apps
- Parsing structured text consistently
- Secure input filtering
- Internationalized text processing
Key features
- RFC 9485 compliant
- Substring and full-string matching
- Platform-agnostic regex behavior
- Pattern correctness validation
- Supports all major platforms
- Lightweight and fast
Suitable for
- Developers building cross-platform apps
- Teams requiring consistent regex behavior
- Applications handling user input securely
- Text parsing tools needing standardization
- Projects prioritizing interoperability
Considerations
- Limited to I-Regexp syntax only
- No support for advanced regex features like backreferences
- Not suitable for complex regex scenarios
- Requires adherence to RFC 9485 specification
- Best for standardized, predictable matching over flexibility