Base implementation to support regular expression link mapping.