Spending an evening learning the basics of regex has paid off in ways I never imagined it would. It has made me better in so many unexpected areas or programming. If you don’t know it, seriously, spend 1 evening and take a course. You’ll thank me later. Super simple example. I am working in a codebase that is expansive, and is not something I’m extremely familiar with yet. I know that there is probably a function that will format currency automatically.

So I searched (with regex) for:

format.*currency

And found it.

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *