Implement match locations
Closes #45