Put the logs-matching fn back

This didn't need to be deleted in the first place. It wasn't trying to
rebind anything and just puts the matches back into a form that tests
can parse.