add different version of Match() returning pattern or score