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

Add regex example with character escaping

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.2.0
    • Affects Version/s: 1.1.2
    • Component/s: Docs
    • Labels:
      None

      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.

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

              Created:
              Updated:
              Resolved: