Uploaded image for project: 'Python Driver'
  1. Python Driver
  2. PYTHON-1705

Add a FAQ entry about regular expressions

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: None
    • None

      We should add a section to the FAQ about using regular expressions with MongoDB. It should cover both the problem with $regex and $options (you have to use an ordered dict implementation or Python 3.6+) and discourage the use of Python regular expressions, since their behavior doesn't match PCRE (which the server uses) in a lot of cases, causing incorrect results.

            Assignee:
            Unassigned Unassigned
            Reporter:
            bernie@mongodb.com Bernie Hackett
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: