`pattern` is going to be wrong here.