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

XMLWordPrintableJSON

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

      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
              Reporter:
              Shibasis Patel
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: