Tried my hand at doing this with US states, feel free to contribute any improvements https://docs.google.com/spreadsheets/d/1QUdlGrjWuo77QFAjBd1p...
https://gist.github.com/jonathanmorley/8058871 3121 points
improved, gives 80 ^(x|(xx){1,9}|x{32}|(x{64})+)$
^[01349][064] works for 197
Tried my hand at doing this with US states, feel free to contribute any improvements https://docs.google.com/spreadsheets/d/1QUdlGrjWuo77QFAjBd1p...
https://gist.github.com/jonathanmorley/8058871 3121 points
improved, gives 80 ^(x|(xx){1,9}|x{32}|(x{64})+)$
^[01349][064] works for 197