Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FYI: Rust port of regexgen with additional functionality #28

Open
pemistahl opened this issue Feb 4, 2020 · 3 comments
Open

FYI: Rust port of regexgen with additional functionality #28

pemistahl opened this issue Feb 4, 2020 · 3 comments

Comments

@pemistahl
Copy link

Hi @devongovett, hi everyone who is reading this. I hope it is okay to open this issue as GitHub does not provide a better way of communication. If not, then feel free to delete this issue again.

When I discovered regexgen a few months ago, I thought to myself: Wow, this tool has great potential. And a lot of ideas came to my mind that I believed would make this tool even more useful. That's why I came up with grex, a Rust port of regexgen which consists of both a command-line tool and a Rust library.

https://github.com/pemistahl/grex

Compared to regexgen, it additionally provides the detection of non-overlapping repeated substrings and their conversion to {min,max} quantifier notation. The conversion to shorthand character classes such as \d and \w is also possible. I already have other ideas in mind for future versions, such as specyfing test cases that must not match the generated expression.

If you are curious, then please check grex out and let me know what you think. Thanks a lot.

@devongovett
Copy link
Owner

Awesome, nice work! If you’re up for it, I’d love to see these improvements ported back into regexgen itself too. 😊

@pemistahl
Copy link
Author

Thank you. Well, I'm afraid I won't have the time to port it back. I'm not so much into Javascript anyway. But feel free to do it yourself. Maybe you become motivated again to work on regexgen after all these years. ;-)

@devongovett
Copy link
Owner

Heh, well originally I wrote it to solve a specific usecase I had so didn't really have a need for new features. I'd be happy for someone else to take over maintenance though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants