Groking Grep

I've been slow on posting tweaks and hacks lately because I've been getting acquainted with Regex and BBEdit. Here's a good approximation of what it's like for me to write regex expressions:

I'm trying to translate Sun Tzu's "The Art of War" into Swahili with a reference library of Chinese restaurant menus.

Fortunately, some menus are better than others. Occasionally, I end up with a regular expression that I have no memory of creating and no understanding of why it works.

Advanced Grep Topics (very good)

Anybrowser.org Tutorial

KingComputerService

Regular-Expressions.info

Not to mention, the reference sheet in the Patterns app is pretty nice.1

So what's all this for? To learn more regex and to develop some experience with BBEdit tools. So far I have a nice little Grep library for writing in MultiMarkdown. To be more accurate, they are tools for catching mistakes in MultiMarkdown. I'll share more after I'm happy with the results.


  1. Affiliate link