in reply to Find solution to knight's tour

There's a post on this site which shows how to solve it using the regexp engine. If you wish to warp your brain, it's a must read :) I'd link to it but I must leave in a hurry.