Yesterday I had asked how to make sure my wildcard route does not match any of the Laravel Nova routes and found the solution quickly.
Nova routes are now ignored as I wanted. But this also seems to throw off the matching in some other way. Here is the defined route:
Route::get('/{seite}/{zweit?}/{dritt?}', 'PagesController@anyPage')
->where('seite', '^(?!nova).*$');
/blog -> should match and does match
/blog/news -> should match but does not and leads to a 404
/blog/news/post-123 -> same as above
If I remove the regex from the route definition, all of these examples are matched, but then of course I cannot access Nova anymore.
Any idea what could be causing this?