27
jkuhl
6y

Regex.

I HATE YOU.

There. I've said it.

I spent the better part of the last hour trying to wrangle together, not one, but TWO regexes and getting them to work with Python's "re" module.

The worst part about these little shits? It's how well they work once you figure out how to get them to work. For example, pulling a phone number out of a paragraph is difficult with string methods, but cake with regex . . . if you can figure out the pattern.

But I think I'll always have hate in my heart for Regex just for how obtuse and frustrating they can be.

F**k you regex.

Comments
Add Comment