grex
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.
started as a Rust port of the JavaScript tool regexgen written by Devon Govett. Although a lot of further useful features could be added to it, its development was apparently ceased several years ago. The plan is now to add these new features to grex as Rust really shines when it comes to command-line tools. #grex offers all features that #regexgen provides, and more.
https://github.com/pemistahl/grex
GitHub - pemistahl/grex: A command-line tool and Rust library with Python bindings for generating regular expressions from user-provided test cases
A command-line tool and Rust library with Python bindings for generating regular expressions from user-provided test cases - pemistahl/grexGitHub
mögen das