Added support for a --match flag

This commit adds support for a URL matching flag, --match. As there aren't existing tests, I didn't add my own, and I can only confirm anecdotally that this works in my informal testing and doesn't break existing behavior in those cases.