regular expression not working with Comparison Operators

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: JavaScript, Querying
    • None
    • ALL
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      EX:
      1. db.dx_product.find({'Brand.value':{'$eq':/^demo$/i}})
      2. db.dx_product.find({'Brand.value':{'$eq':/Demo/i}})

      not giving any result

            Assignee:
            Sam Kleinman (Inactive)
            Reporter:
            Gaurav
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: