public function removeAttr($name) { foreach ($this->matches as $m) { //if ($m->hasAttribute($name)) $m->removeAttribute($name); } return $this; }