Re: preg_match_all() weirdness
| From: | Daniel Lorch | Date: | Sat, 29 Dec 2001 17:49:04 +0000 |
| Subject: | Re: preg_match_all() weirdness | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-75263@lists.php.net to get a copy of this message | ||
Hi,
> preg_match_all('/\<php:([^]]+)\/\>/im',
> '<php:foo var1="value1" var2="value2"
> />',
shouldn't this be
[^>]+ instead of [^]]+
Kind Regards,
Daniel Lorch
--
if(empty($a) == true ? true : false)