Regular expression options must be in alphabetical order

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Duplicate
    • Priority: Minor - P4
    • None
    • Affects Version/s: 2.7.2
    • Component/s: BSON, Json, Serialization
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            Unassigned
            Reporter:
            Robert Stam
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: