RE: [PHP] minus in [] groups in ereg

2001-09-13 Thread Johnson, Kirk
Feature. By placing a dash next to the bracket, there is no confusion that the dash is being used to specify a range. Kirk -Original Message- From: Andrew Perevodchik [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 13, 2001 9:32 AM To: [EMAIL PROTECTED] Subject: [PHP] minus in

Re: [PHP] minus in [] groups in ereg

2001-09-13 Thread Alexander Skwar
So sprach »Andrew Perevodchik« am 2001-09-13 um 18:32:03 +0300 : Is this a bug or feature? The only way to include Feature. See the manual or maybe perldoc perlre. You don't need to escape it, if you put it as the very first item, like so: [-A-Z0-9] Also, why are you escaping =, %, . and _