We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 67616d5 commit d3533e1Copy full SHA for d3533e1
src/Illuminate/Support/Str.php
@@ -542,7 +542,7 @@ public static function isUuid($value)
542
return false;
543
}
544
545
- return preg_match('/^[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}$/iD', $value) > 0;
+ return preg_match('/^[\da-fA-F]{8}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{12}$/D', $value) > 0;
546
547
548
/**
0 commit comments