Add support for match-pattern in marcframe