diff --git a/src/Uuids.php b/src/Uuids.php index ddafba7..ca2e8fe 100644 --- a/src/Uuids.php +++ b/src/Uuids.php @@ -32,7 +32,7 @@ protected static function bootUuids() */ public function scopeUuid($query, $uuid, $first = true) { - $match = preg_match('/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/', $uuid); + $match = preg_match('/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/', $uuid); if (!is_string($uuid) || $match !== 1) {