Uploaded image for project: 'Go Driver'
  1. Go Driver
  2. GODRIVER-1463

The Options field in `primitive.Regex` doesn't seem to work

    • Type: Icon: Bug Bug
    • Resolution: Gone away
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 1.1.2, 1.1.1
    • None
    • Environment:
      go version go1.12.7 darwin/amd64

      I wanted to find a document having a field `name` using regex with case insensitivity. I gave the below query in the `find` method, regex is working correctly, however, the case insensitivity thing doesn't seem to work.

      query: 
      "name": primitive.Regex{Pattern: "Hector", Options: "i"}
      Basically, the `i` option is not working.

            Assignee:
            Unassigned Unassigned
            Reporter:
            patelshibasis@gmail.com Shibasis Patel
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: