Skip to content

Commit a7c8036

Browse files
committed
[6.4][Routing][Uid] Mention RFC 9562
1 parent 8ee0c24 commit a7c8036

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Requirement/Requirement.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ enum Requirement
2323
public const POSITIVE_INT = '[1-9][0-9]*';
2424
public const UID_BASE32 = '[0-9A-HJKMNP-TV-Z]{26}';
2525
public const UID_BASE58 = '[1-9A-HJ-NP-Za-km-z]{22}';
26-
public const UID_RFC4122 = '[0-9a-f]{8}(?:-[0-9a-f]{4}){3}-[0-9a-f]{12}';
26+
public const UID_RFC4122 = '[0-9a-f]{8}(?:-[0-9a-f]{4}){3}-[0-9a-f]{12}'; // RFC 9562 obsoleted RFC 4122 but the format is the same
2727
public const ULID = '[0-7][0-9A-HJKMNP-TV-Z]{25}';
2828
public const UUID = '[0-9a-f]{8}-[0-9a-f]{4}-[13-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}';
2929
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}';

0 commit comments

Comments
 (0)