function setNegativePattern($pattern) { $this->pattern['negPref'] = $pattern[0]; $this->pattern['negPost'] = $pattern[1]; }