Re: Negative Look Ahead Regex - Code Mistake or Bug?
| From: | Lupus Michaelis | Date: | Mon, 18 Aug 2008 06:50:08 +0000 |
| Subject: | Re: Negative Look Ahead Regex - Code Mistake or Bug? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-278263@lists.php.net to get a copy of this message | ||
Ashley Sheridan a écrit :
Hi Cameron, As far as I can tell, you have an error in your syntax. You're using a - (hyphen) character in the first match, but Regex uses this to define a range of characters.That's not valuable if hyphen is the last character of the range set. -- Mickaël Wolff aka Lupus Michaelis http://lupusmic.org