reg expression for path parameters compleated