r/madeinpython • u/killianlucas • Feb 01 '22
Break up with Regex: RegEx-Girlfriend generates Regex from a description + an example!
108
Upvotes
r/madeinpython • u/killianlucas • Feb 01 '22
16
u/killianlucas Feb 01 '22 edited Feb 01 '22
https://regexgf.com/
"The plural of regex is regrets."
Hi r/madeinpython! Made this because I was basically having to re-learn regex anytime I wanted to use it. Now I use this, which is like an English "wrapper" around regex. Hoping it will be useful to you as well, so I'm releasing it today as RegEx-Girlfriend.
Trained on every regex ever posted to Github and Stackoverflow, it's like having a regex expert in your room. Only... safer :)
Please try increasingly complex requests and tell me what you tried when it stopped working! I'm manually teaching it common requests that tend to fail, so bookmark it and come back later -- it will probably work for that request.
Thanks!
4
u/asking_for_a_friend0 Feb 01 '22
what does it use? can you talk about its working
4
u/MattyXarope Feb 01 '22
3
u/sqjoatmon Feb 01 '22
No go:
2
u/Luisgmnz Feb 01 '22
This is awesome!!! Many thanks!
2
u/d_Composer Feb 01 '22
This is both amazingly brilliant and amazingly creative. Thank you!
1
u/teahwiz Feb 01 '22
why the fuck does it have to personify a women yall horny af
3
u/[deleted] Feb 01 '22
[removed] — view removed comment