/** * @return PcreOptions */ public function anchorAtStart() { $compiled = $this->compile(); $options = new PcreOptions($compiled); $options->anchorAtStart(); return $options; }
/** * @return PcreOptions */ public function anchorAtStart() { $options = new PcreOptions($this->regexString); $options->anchorAtStart(); return $options; }