Building Your Own Web Framework - Routing

Now we need to match incoming requests to the right controller. We ll build a router that handles both static routes like `/about` and dynamic routes with parameters like `/users/{id}`. Simple regex pattern matching, no magic.