note 13412 deleted from function.ereg by jimw

From: Date: Fri, 02 Nov 2001 01:28:04 +0000
Subject: note 13412 deleted from function.ereg by jimw
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-20147@lists.php.net to get a copy of this message
If you are using this to validate user input, you might want to check if the user input does not contain newlines. If it does, your check will succeed if one of the lines match the regexp. Also the string will contain a newline, which your program might not expect.

« previous php.notes (#20147) next »