regex-intersect 1.0.0

Find out if two regexes have a non-empty intersection
Documentation

Regex Intersect

This is a Rust library that finds out if two regexes have a non-empty intersection.

Dependency

[dependencies]
regex-intersect = "0.1.0"

For most recent version see crates.io

Usage

Import and use non_empty:

use regex_intersect::non_empty;
assert!(non_empty("a.*", "ab.*cd"))

Copyright

Copyright (c) 2022 @jondot. See LICENSE for further details.