I am facing some routing issues here, but i’m not sure if i am doing this properly
For some reason I need urls like “/foo/some-slug” to point to “/foo/bar:some-slug”
So I wrote this rule :
routes: '/foo/(?!.*:)([a-z0-9]+(?:-[a-z0-9]+)*)': '/foo/bar:$1'
But this triggers an infinite loop. What am I doing wrong here ? This only happens when an url parameter is present.
Thank you in advance