Filtering with BsonRegularExpressions appears to be broken in 2.4.3

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Works as Designed
    • Priority: Blocker - P1
    • None
    • Affects Version/s: 2.4.3
    • Component/s: BSON, LINQ
    • Environment:
      Win 7, Visual Studio 2013
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      In 2.4.2 the following worked when defining a FilterDefinition:

      filterDefinition = builder.Eq(
                              x => x.Domain, 
                              new BsonRegularExpression(string.Format("^{0}$" : "{0}", query.Domain), "i"));
      

      However, this appears to be broken in 2.4.3

            Assignee:
            Robert Stam (Inactive)
            Reporter:
            John Cleve
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: