test for a match

if(!match(topcharacter.topchar,

currentchar))