[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: |
|
||||||||||||||||
| Description |
|
The BSON spec requires that options for a BSON regular expression be in alphabetical order. 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. |