Uploaded image for project: 'PHP Driver: Library'
  1. PHP Driver: Library
  2. PHPLIB-265

Add regex example with character escaping

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • 1.1.2
    • 1.2.0
    • Docs
    • None

    Description

      Add an example using preg_quote() to escape characters within a regex query. The regex documentation does not exhaustively list supported syntax (it claims be PCRE 8.39 with UTF-8 support), but it should be trivial to produce a common example.

      Attachments

        Issue Links

          Activity

            People

              jmikola@mongodb.com Jeremy Mikola
              jmikola@mongodb.com Jeremy Mikola
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: