File tree 2 files changed +2
-1
lines changed
src/Symfony/Component/Routing 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ enum Requirement
24
24
public const UID_BASE58 = '[1-9A-HJ-NP-Za-km-z]{22} ' ;
25
25
public const UID_RFC4122 = '[0-9a-f]{8}(?:-[0-9a-f]{4}){3}-[0-9a-f]{12} ' ;
26
26
public const ULID = '[0-7][0-9A-HJKMNP-TV-Z]{25} ' ;
27
- public const UUID = '[0-9a-f]{8}-[0-9a-f]{4}-[1 -6][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12} ' ;
27
+ public const UUID = '[0-9a-f]{8}-[0-9a-f]{4}-[13 -6][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12} ' ;
28
28
public const UUID_V1 = '[0-9a-f]{8}-[0-9a-f]{4}-1[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12} ' ;
29
29
public const UUID_V3 = '[0-9a-f]{8}-[0-9a-f]{4}-3[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12} ' ;
30
30
public const UUID_V4 = '[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12} ' ;
Original file line number Diff line number Diff line change @@ -272,6 +272,7 @@ public function testUuidOK(string $uuid)
272
272
* ["e55a29be-ba25-46e0-a5e5-85b78a6f9a1"]
273
273
* ["e55a29bh-ba25-46e0-a5e5-85b78a6f9a11"]
274
274
* ["e55a29beba2546e0a5e585b78a6f9a11"]
275
+ * ["21902510-bc96-21ec-8422-0242ac120002"]
275
276
*/
276
277
public function testUuidKO (string $ uuid )
277
278
{
You can’t perform that action at this time.
0 commit comments