Fix path regex for uri resolver