#regex is one of those things for which I never really took the time to properly understand it. I've always found myself to resort to applying and tweaking existing examples. You know, the programming-as-stackoverflow-searches-approach.

Yesterday's 3 hour rabbit hole trying to get things working without having a good grasp reminded me once again of the folly of that approach. Any good sources you could recommend for learning about regular expressions?

Python-specific is a +

Follow

@rra regexr.com is invaluable for me.

Flags etc requires a bit of further reading of the `re` module docs, but otherwise it's a godsend.

Sign in to participate in the conversation
Mastodon @ SDF

"I appreciate SDF but it's a general-purpose server and the name doesn't make it obvious that it's about art." - Eugen Rochko