How do I define a case insensitive (part of a) route?
Example:
- Route::get('/{userId}/profile');
- http://domain.com/123/profile works fine.
Any use of uppercase in the fixed part of the route does not work:
- http://domain.com/123/Profile does not work
- http://domain.com/123/proFILE does not work
I understand how I can make parameters like {parameter} use a regex pattern using ->with(), but that does not help me with the fixed part of the route, like described above.