Fix escaping issue with path segment patterns.