Finds a short regex to match strings from one list and none from another, inspired by http://nbviewer.ipython.org/url/norvig.com/ipython/xkcd1313.ipynb