note 86594 deleted from function.preg-match by danbrown

From: Date: Wed, 03 Aug 2011 13:11:43 +0000
Subject: note 86594 deleted from function.preg-match by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-182151@lists.php.net to get a copy of this message
Note Submitter: Ben ---- Marc your pattern will match 259.259.259.259 I think you're actually after something like this: /((1?\d{1,2}|2[0-4]\d|25[0-5])\.){3}(1?\d{1,2}|2[0-4]\d|25[0-5])/

« previous php.notes (#182151) next »