note 108667 added to mongoregex.construct
| From: | calimero at creatixnet dot com | Date: | Wed, 16 May 2012 09:44:05 +0000 |
| Subject: | note 108667 added to mongoregex.construct | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-188005@lists.php.net to get a copy of this message | ||
AFAICT, as of PHP 5.3.6, this function doesn't work correctly with any delimiter character
other than plain slash (/), which is annoying if your pattern looks like a URL or file path for
example (which itself may contain slashes you'll have to escape).
One can make use of the print_r($your_mongoregex_object) statement to ensure the pattern is
recognized properly.
----
Server IP: 195.221.21.36
Probable Submitter: 88.182.186.132
----
Manual Page -- http://www.php.net/manual/en/mongoregex.construct.php
Edit -- https://master.php.net/note/edit/108667
Del: integrated -- https://master.php.net/note/delete/108667/integrated
Del: useless -- https://master.php.net/note/delete/108667/useless
Del: bad code -- https://master.php.net/note/delete/108667/bad+code
Del: spam -- https://master.php.net/note/delete/108667/spam
Del: non-english -- https://master.php.net/note/delete/108667/non-english
Del: in docs -- https://master.php.net/note/delete/108667/in+docs
Del: other reasons-- https://master.php.net/note/delete/108667
Reject -- https://master.php.net/note/reject/108667
Search -- https://master.php.net/manage/user-notes.php