translated match macro into symta