Possible unanticipated conversion to regex

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • None
    • Affects Version/s: 2.4.6
    • Component/s: Shell
    • None
    • Environment:
      Amazon mongo ubuntu package
    • Linux
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Mongo client throws the following error upon issueing a find command that contains the string /^10/s in xxxID field in at least one document.

      Error: 16863 Error converting /^10/s in field xxxID to a JS RegExp object: SyntaxError: Invalid flags supplied to RegExp constructor 's'

            Assignee:
            Unassigned
            Reporter:
            Kerem Kat
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: