Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix UUID pattern #400

Merged
merged 1 commit into from
Oct 4, 2022
Merged

Fix UUID pattern #400

merged 1 commit into from
Oct 4, 2022

Conversation

marcospassos
Copy link
Contributor

Change Log

Changed

  • Fixed UUID pattern

Description

The currently UUID isn't exactly a general UUID matcher, but a variant-specific matcher.

For example, the NIL UUID doesn't match, although it's a valid, UUID as defined in the UUID spec. Also, restricting the version and variant isn't exactly right, since using other hex digit is valid, meaning the version and variant are unknown. Even the most used UUID library in the PHP ecosystem, or the native UUID in Java, doesn't impose such restrictions.

@norberttech norberttech merged commit e782a9e into coduo:6.x Oct 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants