Update to use regular expressions
Add .travis.yml and support tests