Make match pattern configurable to allow exceptions.