improved regex
Merge branch 'master' into heroku