will match
^/teacher/<id>/list$ ^/teacher/<id>/file/<name>$ ^/teacher/<id>/info/<name>$
where
id = \d+ method = list | file | info name = .+