public function addRegularExpression(RegularExpression $regularExpression) { return new self($this->undefined, $this->enabled, $regularExpression); }