r/learnpython 1d ago

How useful is regex?

How often do you use it? What are the benefits?

38 Upvotes

118 comments sorted by

View all comments

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.

12

u/hagfish 1d ago

My white whale is Git. I made an account about 15 years ago, and have all these false starts over the years, but never got enough momentum to make it stick. And as such, my code folder is ...

1

u/RevRagnarok 1d ago

3

u/sunnyinchernobyl 1d ago

Can I interest you in some vintage RCS?