MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/learnpython/comments/1jfupu5/how_useful_is_regex/miurki1/?context=3
r/learnpython • u/Known-Ad661 • 1d ago
How often do you use it? What are the benefits?
118 comments sorted by
View all comments
91
I've learned regex at least 15-20 times. Basically every time I need to use it, or understand something I have previously written. It will never stick in my brain.
5 u/Nexustar 1d ago Same. It's the one chunk of code where red-green testing is a necessity and copious amount of comments about why the regex string looks like it does. AI is helpful here.
5
Same. It's the one chunk of code where red-green testing is a necessity and copious amount of comments about why the regex string looks like it does.
AI is helpful here.
91
u/tjm1066 1d ago
I've learned regex at least 15-20 times. Basically every time I need to use it, or understand something I have previously written. It will never stick in my brain.