Skip to content

Commit

Permalink
Fix StringUUID example
Browse files Browse the repository at this point in the history
  • Loading branch information
dawidwisn committed Jun 11, 2024
1 parent 5cfb63b commit 981758c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/validation/string.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ var validUUIDRegex = regexp.

func StringUUID() SingleRule[string] {
return StringMatchRegexp(validUUIDRegex,
"0000000-0000-0000-0000-000000000000",
"00000000-0000-0000-0000-000000000000",
"e190c630-8873-11ee-b9d1-0242ac120002",
"79258D24-01A7-47E5-ACBB-7E762DE52298").
WithDetails("expected RFC-4122 compliant UUID string").
Expand Down

0 comments on commit 981758c

Please sign in to comment.