Simplify single path regex