Revise match pattern