Note supported pattern syntax in MongoDB\BSON\Regex docs

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Docs
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      According to $regex documentation:

      MongoDB uses Perl compatible regular expressions (i.e. "PCRE" ) version 8.42 with UTF-8 support.

      I believe this covers all server-side evaluation of regex patterns since the manual only discusses differing behavior related to Javascript ($regex vs. /pattern/ Syntax), which likely applies to the shell.

      The current docs for MongoDB\BSON\Regex link to documentation for supported flags, but we'd do well to note the supported pattern syntax as well.

            Assignee:
            Unassigned
            Reporter:
            Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: