Regex, Prologue: Grammar (via iOS Dev Weekly Issue 423).

I’ve not yet read the whole article, but the introduction sounds like a lot of fun. And some years past when I was reading a regex book, I was planning on doing the same actually but never made the time to do it.