Skip to content

Commit

Permalink
[6.4][Routing][Uid] Mention RFC 9562
Browse files Browse the repository at this point in the history
  • Loading branch information
fancyweb committed Sep 20, 2024
1 parent 8ee0c24 commit a7c8036
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Requirement/Requirement.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ enum Requirement
public const POSITIVE_INT = '[1-9][0-9]*';
public const UID_BASE32 = '[0-9A-HJKMNP-TV-Z]{26}';
public const UID_BASE58 = '[1-9A-HJ-NP-Za-km-z]{22}';
public const UID_RFC4122 = '[0-9a-f]{8}(?:-[0-9a-f]{4}){3}-[0-9a-f]{12}';
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
public const ULID = '[0-7][0-9A-HJKMNP-TV-Z]{25}';
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}';
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}';
Expand Down

0 comments on commit a7c8036

Please sign in to comment.