public function __construct($regex, $tagPrefix = '') { $this->regex = $regex; $this->tagPrefix = $tagPrefix; }