-
Notifications
You must be signed in to change notification settings - Fork 595
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
Improve JavaUUID path matcher #2596
Improve JavaUUID path matcher #2596
Conversation
2fd53f9
to
618b465
Compare
Test PASSed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Additional functionality looks good but might still make sense to keep the try/catch?
618b465
to
bb556d8
Compare
Test PASSed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Really simple now, thanks @Philippus. LGTM
Purpose
Improve the JavaUUID path matcher
Changes
This PR tightens the existing regex and adds the nil uuid, making it accept uuid's as defined in RFC 4122. Also avoids a try/catch block.