match() method in repo API. rudimentary implementation.