extractPathVariables

Extracts path variables from a matching subject.

Return

A map of path variable names to their extracted values.

Parameters

subject

The subject to extract variables from. Must match the pattern.

Throws

If the subject does not match the pattern.