path regex madness not only for an url