separate match arguments from standard arguments