Merge pull request #48 from till-varoquaux/master

Do not run /pub as part of regtest
only look at first part of these strings
Merge branch 'master' of github.com:okws/okws