make it `pattern[0] === '!'`