[CSHARP-2485] Regular expression options must be in alphabetical order Created: 17/Jan/19  Updated: 10/Nov/22  Resolved: 10/Nov/22

Status: Closed
Project: C# Driver
Component/s: BSON, Json, Serialization
Affects Version/s: 2.7.2
Fix Version/s: None

Type: Improvement Priority: Minor - P4
Reporter: Robert Stam Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: rp-toSched
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by DRIVERS-331 BSON Regex flags must be alphabetical... Closed
Duplicate
duplicates CSHARP-1821 Implement BSON Corpus tests Closed

 Description   

The BSON spec requires that options for a BSON regular expression be in alphabetical order.

http://bsonspec.org/spec.html

The C# driver should comply with that by sorting options as necessary when creating instances of a BsonRegularExpression or when reading or writing regular expressions to BSON or JSON.


Generated at Wed Feb 07 21:42:41 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.