rust.is_portable()

Returns whether every clause is executable by the Rust interpreter.

Usage

Source

rust.is_portable(spec)

A spec is portable when each TextMatchesAny uses only group names proven to match identically under the Rust regex crate; non-portable specs fall back to the Python interpreter.