invalid pattern