RE: [PHP] regex problem with '@'
| From: | Maxim Maletsky | Date: | Wed, 04 Oct 2000 13:19:47 +0000 |
| Subject: | RE: [PHP] regex problem with '@' | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-18582@lists.php.net to get a copy of this message | ||
I am not sure about what I'm answering, but, don't you need to comment an @
with a backslash?
-----Original Message-----
From: Tony Bailey [mailto:tony@jag-lovers.org]
Sent: Wednesday, October 04, 2000 10:13 PM
To: php-general@lists.php.net
Subject: [PHP] regex problem with '@'
Anyone put me out of my misery and tell me how to alter this to work?
if ( ereg("@", $line) )
It always returns true as is....
TIA
Tony
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net