Add method #matchUrl