RE: [PEAR-DEV] Problems with Date.php 1.3.1 beta

From: Date: Mon, 04 Aug 2003 13:11:57 +0000
Subject: RE: [PEAR-DEV] Problems with Date.php 1.3.1 beta
Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-19253@lists.php.net to get a copy of this message
> > elseif (preg_match('/\d{8}/',$date)) { > > $this->setDate($date.'000000',DATE_FORMAT_TIMESTAMP); > > } > > preg_match('/$\d{8}^/',$date) is the way. Thanks to have reported this > bug. $ is for end of line while ^ is for beginning of line, didn't you invert those two in your mail ? Arnaud.

« previous php.pear.dev (#19253) next »