Added regex paths. Closes #42.