[SERVER-66646] don't use regex for UUID::isUUIDString Created: 22/May/22  Updated: 29/Oct/23  Resolved: 25/May/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 6.1.0-rc0

Type: Improvement Priority: Major - P3
Reporter: Billy Donahue Assignee: Billy Donahue
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to SERVER-28294 Create server library for generating ... Closed
is related to SERVER-65276 Create and integrate wrapper for PCRE2 Closed
is related to SERVER-50894 prefer pcrecpp to std::regex Closed
Backwards Compatibility: Fully Compatible
Sprint: Service Arch 2022-05-30
Participants:

 Description   

It's the only use of regex in base and isn't the most efficient way to check this easy pattern.

The fact that there is a pcrecpp use in base complicates SERVER-65276.
The in-house pcre2 wrapper has to become part of base to accomodate this one usage.



 Comments   
Comment by Githook User [ 25/May/22 ]

Author:

{'name': 'Billy Donahue', 'email': 'billy.donahue@mongodb.com', 'username': 'BillyDonahue'}

Message: SERVER-66646 UUID::isUUIDString without regex
Branch: master
https://github.com/mongodb/mongo/commit/65100ef338488cf55acc62a30e0af1442eb376bd

Generated at Thu Feb 08 06:06:01 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.