grex is a library as well as a command-line utility that is meant to simplify the often complicated and tedious task of creating regular expressions. It does so by automatically generating a single regular expression from user-provided test cases. The resulting expression is guaranteed to match the test cases which it was generated from.
It started as a Rust port of the JavaScript tool regexgen written by Devon Govett.
| Package Version | Update ID | Released | Package Hub Version | Platforms | Subpackages |
|---|---|---|---|---|---|
| 1.4.4-bp157.1.11 info | GA Release | 2025-04-04 | 15 SP7 |
|
|
| 1.4.4-bp156.1.8 info | GA Release | 2024-05-13 | 15 SP6 |
|
|
| 1.4.5-bp160.1.14 info | GA Release | 2024-03-05 | 16.0 |
|
|