def matchmark(colitem, markexpr):
try:<EOL><INDENT>return eval(markexpr, {}, MarkMapping.from_item(colitem))<EOL><DEDENT>except SyntaxError as e:<EOL><INDENT>raise SyntaxError(str(e) + "<STR_LIT>")<EOL><DEDENT>
Tries to match on any marker names, attached to the given colitem.