#pattern #pattern-match #permutation #match #regex #combination #pattern-matching

phos

A rust crate for a regex-like pattern matcher/permutation generator

2 releases

0.0.2 Jan 23, 2023
0.0.1 Jan 23, 2023

#2400 in Algorithms

GPL-3.0-only

15KB

phos

A rust crate for a regex-like pattern matcher/permutation generator.


lib.rs:

phos is a powerful and flexible rust crate for pattern matching and pattern permutation generation. It offers a different approach to pattern matching by providing a Pattern or Matcher struct (similar to a regex expression) that is generic, allowing you to match across any type, not just Strings.

No runtime deps