adding "." and "-" to matching regex for path-prefix