In case you don’t know, a regular expression (or “regex” for short) is a search pattern that can be used to find patterns in text documents. For example, the regular expression (?<!c)ie
will match the letters “i” and “e” in that order, except when preceded by the letter “c”. They are a powerful weapon in any programmer’s arsenal, so you need to know about them if you’re interested in making software.
If you’re still reading and I haven’t put you off the idea already, I recommend you visit regexcrossword.com where you’ll find a set of crossword-type puzzles where the clues are regular expressions. Here’s an example:
And if that isn’t too taxing, try tackling this monster from the 2013 MIT Mystery Hunt:
(Link credit: kottke.org)
Leave a Reply