iregexp-check is a Python library providing bindings to a Rust crate for working with I-Regexp, an interoperable regular expression format. It allows Python developers to validate and interact with I-Regexp patterns. The library is actively maintained with regular updates and is currently at version 0.1.4.
pip install iregexp-checkVerified import paths — ran on the pinned version, not inferred.
This quickstart demonstrates how to import and use the `is_valid_iregexp` function to check the validity of I-Regexp patterns. The function returns `True` for valid patterns and `False` for invalid ones.
Always refer to the I-Regexp specification or relevant documentation to ensure your patterns adhere to its specific syntax, rather than assuming compatibility with PCRE/Python `re`.
Change string literals for patterns from `"\s+"` to `r"\s+"`.