Regexps do not work with arrays

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Querying
    • None
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      db.foo.find(

      {'myfield.shape':'circle', 'myfield.color': /.*/}

      ) returns an object but db.foo.find({myfield:{shape:'circle', color: /.*/}}); does not.

            Assignee:
            Eliot Horowitz (Inactive)
            Reporter:
            Karoly Negyesi
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: