extract  IResourceLinker interface
Throw on routes with regex