Slim3 - Route Regexp for UUID

Hey that looks awesome. However, I am trying to ask how to perform these complex regexpressions in the routes, not get a regexp that matches a UUID (although that does look useful).

E.g. can you give me a tweaked version of:

$app->get('/users/{id:^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89AB][0-9a-f]{3}-[0-9a-f]{12}$/', function (\Slim\Http\Request $request, Slim\Http\Response $response, $args) {
    // Find user identified by $args['id']
});

… that will actually work with slim routes (its not the regular expression itself but how do i place it in the route?) I have tested that the regular expression itself works using an online tool.