Decades ago, I was a kinda-sometimes programmer. Mostly for personal use in a programming languages called Pascal (followed by Modula-2, C++, Objective-C, Perl, Java, and Rust).
Along the way I picked up a few tools which made programming easier. Editors, outliners, re-compilers, and the rest. One thing that I didn't pick up was learning RegEx (or "regex" if you're boring).
Shorthand for Regular Expressions, this is a tool which allows you to search for text in interesting and helpful ways... then act on what you find. And I don't know why I never looked at it. I had certainly heard of it, but ignored it for forever.
Until I couldn't.
This week I have been working on a difficult work project when I finally ran into a wall. I needed to alter hundreds of occurrences of text which was ever-changing. I had no idea how to do it. I assumed there would be a tool that allowed wildcard functions. And there are some. But none of them could do what I needed to do, and I resigned myself to manually changing everything.
And all of a sudden I remembered RegEx.
The reason I couldn't find a tool which did what I needed was because it had already been invented in the 1950's.
Twenty minutes later, and I had learned what I needed to learn and had completed a task which would have taken hours.
My biggest regret in life is that I didn't learn how to learn RegEx earlier than I did.

I love comments! However, all comments are moderated, and won't appear until approved. Are you an abusive troll with nothing to contribute? Don't bother. Selling something? Don't bother. Spam linking? Don't bother.
PLEASE NOTE: My comment-spam protection requires JavaScript... if you have it turned off or are using a mobile device without JavaScript, commenting won't work. Sorry.

There's no comments here...