allow paths with slashes and dots

as long as each part of the path starts with a word character