Eval pattern terms before matching