note 27131 added to pcre.pattern.syntax
| From: | rory at rack1 dot php dot net | Date: | Sun, 24 Nov 2002 12:44:23 +0000 |
| Subject: | note 27131 added to pcre.pattern.syntax | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-39909@lists.php.net to get a copy of this message | ||
If you are attempting to display the results of some preg function, and it involves parsing tags,
(e.g. preg_match("/(<form)/","<form",$array) ) beware! Any string
beginning with a left-angle bracket (less than sign) will not appear unless you put it inside
htmlentities(). This one drove me nuts until I did a "view source" and saw what I was
expecting, even though it wasn't showing up on my browser.
--
http://www.php.net/manual/en/pcre.pattern.syntax.php
http://master.php.net/manage/user-notes.php?action=edit+27131
http://master.php.net/manage/user-notes.php?action=delete+27131
http://master.php.net/manage/user-notes.php?action=reject+27131