Function documentation fixes

In particular matches() summary which was a copy/paste of match().