We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a28f708 commit 6925aa4Copy full SHA for 6925aa4
src/Uuids.php
@@ -32,7 +32,7 @@ protected static function bootUuids()
32
*/
33
public function scopeUuid($query, $uuid, $first = true)
34
{
35
- $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);
36
37
if (!is_string($uuid) || $match !== 1)
38
0 commit comments