From: Evan Prodromou Date: Mon, 20 Jun 2011 05:11:08 +0000 (-0400) Subject: push regex pattern for UUID to that class X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=ab98458399c28f04614de0e8474c1864ef4cb495;p=quix0rs-gnu-social.git push regex pattern for UUID to that class --- diff --git a/lib/uuid.php b/lib/uuid.php index 93153504f2..386d0e2121 100644 --- a/lib/uuid.php +++ b/lib/uuid.php @@ -47,6 +47,7 @@ if (!defined('STATUSNET')) { class UUID { + const REGEX = '[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}'; protected $str = null; /**