change match pattern