-
Notifications
You must be signed in to change notification settings - Fork 7
Closed
Description
There is an issue while validating Guids automatically generated by EF.
The 'uuid' library is validation guid with following regular expression(https://github.com/uuidjs/uuid/blob/a505f01e59d8a5e432ab3355c5522bea055a8c27/src/regex.ts)
/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/i
The highlighted part of regular expression returns false trying to validate this Guid f094d99a-347e-4fe5-eea2-08dbc5deb2a0
Should not be instead [0-9a-f] ?
Metadata
Metadata
Assignees
Labels
No labels