note 103601 added to function.preg-match
| From: | rubio dot marr at gmail dot com | Date: | Thu, 21 Apr 2011 22:46:14 +0000 |
| Subject: | note 103601 added to function.preg-match | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-179065@lists.php.net to get a copy of this message | ||
Warning (2): preg_match() [function.preg-match]: Delimiter must not be alphanumeric or backslash
[CORE\cake\libs\model\model.php, line 2611]
I keep getting this warning message.
Anyone know how to get rid of it?
$valid = preg_match($rule, $data[$fieldName]);
That's the code im using right now.
----
Server IP: 69.147.83.197
Probable Submitter: 201.138.80.172
----
Manual Page -- http://www.php.net/manual/en/function.preg-match.php
Edit -- https://master.php.net/note/edit/103601
Del: integrated -- https://master.php.net/note/delete/103601/integrated
Del: useless -- https://master.php.net/note/delete/103601/useless
Del: bad code -- https://master.php.net/note/delete/103601/bad+code
Del: spam -- https://master.php.net/note/delete/103601/spam
Del: non-english -- https://master.php.net/note/delete/103601/non-english
Del: in docs -- https://master.php.net/note/delete/103601/in+docs
Del: other reasons-- https://master.php.net/note/delete/103601
Reject -- https://master.php.net/note/reject/103601
Search -- https://master.php.net/manage/user-notes.php