function xxyymatch, add two parameter reflen and objlen, the matchstar has the same length with objstar.