Dec 22, 2015

Regular Expression Crossword Puzzle

If you know regular expressions, you might find this to be geek fun. A friend of mine posted this, without a solution, but once I started working it, it seemed put together well enough it was likely solvable. Eventually I did solve it, but not before coding up a web interface for verifying my solution and rotating the puzzle in the browser, which I recommend using if you are going to try this out. Or just print it out.

It's actually quite impressive of a puzzle in it's own right. It must have taken a lot of work to create.

My puzzle web interface was also a bit of fun to smash together. I wanted the puzzle to be rotatable, but for the input boxes to stay upright through the rotation. I also wanted the browser to verify the regexps for me as I went along. Getting the hex cells to work in CSS took a bit of doing, and I admit it's not very cleanly done.

Thanks to Dan Lewis for sharing the original puzzle.

5 comments:

Eduardo said...

Impressive!

Kudos.

Qwertj said...

Do you have the solution?

north5 said...

Haha this is ace. :)
I did it in about two hours.
Solution here: https://www.dropbox.com/s/cr971cjcas5x8je/solution.png?dl=0
Would have been impossible without your automatic interface. :)

Raphaël Pinson said...

Just finished it too

http://i.imgur.com/1mIVecf.png

Interesting to see that my solution is exactly the same as north5's. Is there a proof that the solution to this puzzle is unique?

Иван Михайлов said...

Solved too.
Thanks for the interactive version!

http://i.imgur.com/KhMBWRv.png