RE: [PHP] Re: eregi problem

2005-04-04 Thread Kim Madsen
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Sunday, April 03, 2005 6:03 PM To: php-general@lists.php.net Subject: [PHP] Re: eregi problem i'm not familliar with regular expresions but i think that ^a-z - means that variable must start witx a-z

Re: [PHP] Re: eregi problem

2005-04-04 Thread M. Sokolewicz
Kim Madsen wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Sunday, April 03, 2005 6:03 PM To: php-general@lists.php.net Subject: [PHP] Re: eregi problem i'm not familliar with regular expresions but i think that ^a-z - means that variable must start witx

RE: [PHP] Re: eregi problem

2005-04-04 Thread Kim Madsen
-Original Message- From: M. Sokolewicz [mailto:[EMAIL PROTECTED] Sent: Monday, April 04, 2005 3:08 PM Putting the ^ _inside_ [] means NOT, so if any of the chars a-z0-9 is in the string it´s NOT matched. actually, that's not entirely correct. The regexp basically means that if

Re: [PHP] Re: eregi problem

2005-04-04 Thread M. Sokolewicz
Kim Madsen wrote: -Original Message- From: M. Sokolewicz [mailto:[EMAIL PROTECTED] Sent: Monday, April 04, 2005 3:08 PM Putting the ^ _inside_ [] means NOT, so if any of the chars a-z0-9 is in the string it´s NOT matched. actually, that's not entirely correct. The regexp basically means