From ab98458399c28f04614de0e8474c1864ef4cb495 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Mon, 20 Jun 2011 01:11:08 -0400 Subject: [PATCH] push regex pattern for UUID to that class --- lib/uuid.php | 1 + 1 file changed, 1 insertion(+) 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; /**