|
|
@@ -797,7 +797,7 @@ class Validation {
|
|
|
* @return boolean Success
|
|
|
*/
|
|
|
public static function uuid($check) {
|
|
|
- $regex = '/^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[1-5][a-fA-F0-9]{3}-[89aAbB][a-fA-F0-9]{3}-[a-fA-F0-9]{12}$/';
|
|
|
+ $regex = '/^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[0-5][a-fA-F0-9]{3}-[089aAbB][a-fA-F0-9]{3}-[a-fA-F0-9]{12}$/';
|
|
|
return self::_check($check, $regex);
|
|
|
}
|
|
|
|