note 28343 added to function.preg-match
| From: | ua dot moc dot cigolelpoep at hsoj dot php dot net | Date: | Fri, 10 Jan 2003 04:13:14 +0000 |
| Subject: | note 28343 added to function.preg-match | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-41937@lists.php.net to get a copy of this message | ||
regarding that comment about double-escaping special PHP characters .. not necessary if you use
single quotes. unless youre in a flying hurry, its always better, faster and cleaner to use single
quotes, and concatenate variable names, line breaks etc - less work has to be done to parse the
string, because it can be taken literally.
--
http://www.php.net/manual/en/function.preg-match.php
http://master.php.net/manage/user-notes.php?action=edit+28343
http://master.php.net/manage/user-notes.php?action=delete+28343
http://master.php.net/manage/user-notes.php?action=reject+28343