Uploaded image for project: 'C# Driver'
  1. C# Driver
  2. CSHARP-2485

Regular expression options must be in alphabetical order

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Duplicate
    • Icon: Minor - P4 Minor - P4
    • None
    • 2.7.2
    • BSON, Json, Serialization

    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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            robert@mongodb.com Robert Stam
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: