This documentation regards version 10.1, however the current version is 10.7.0.
extractMatchedPath
Signature
def extractMatchedPath:Directive1[Uri.Path]
Description
Extracts the matched path from the request context.
The extractMatchedPath directive extracts the path that was already matched by any of the PathDirectives (or any custom ones that change the unmatched path field of the request context). You can use it for building directives that use already matched part in their logic.