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 9f74b71 commit 479ee88Copy full SHA for 479ee88
UUID.php
@@ -82,7 +82,7 @@ final class UUID
82
/**
83
* Regex pattern for UUIDs
84
*/
85
- public const PATTERN = '[a-f0-9]{8}\-[a-f0-9]{4}\-[1|3|4|5][a-f0-9]{3}\-[a-f0-9]{4}\-[a-f0-9]{12}';
+ public const PATTERN = '[a-f0-9]{8}\-[a-f0-9]{4}\-[1345][a-f0-9]{3}\-[a-f0-9]{4}\-[a-f0-9]{12}';
86
87
88
* Generates a UUID based on the MD5 hash of a namespace
0 commit comments