Uploaded image for project: 'Node.js Driver'
  1. Node.js Driver
  2. NODE-1464

extjson: support encoding and decoding RegExp's

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: EJSON

      We've seen a few Stitch users trying to pass in /someregex/ to Stitch which does not get encoded to a BSON regex. If there was a way to automatically encode these and separately a way to choose to decode these to RegExp (less important), that would be very nice.

            Assignee:
            katherine.walker@mongodb.com Katherine Walker (Inactive)
            Reporter:
            eric.daniels@mongodb.com Eric Daniels
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: