Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-19923

regular expression not working with Comparison Operators

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • None
    • JavaScript, Querying
    • None
    • ALL

    Description

      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

      Attachments

        Activity

          People

            sam.kleinman Sam Kleinman (Inactive)
            gaurav90 Gaurav
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: