How to create dynamic rotues

Good day,
If i want to create a route i will do something like below

website_route_rules = [
    {"from_route": "/opp/<name>", "to_route": "app/opp/"},
]

How can one go ahead with creating nested routes.
But what if i what to create a route like /opp/<name&gt/poo/<name&gt how can i do this?