Re: ereg problem?

From: Date: Fri, 25 Jul 2003 00:48:19 +0000
Subject: Re: ereg problem?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-156774@lists.php.net to get a copy of this message
chenqi1@zte.com.cn wrote:
who can tell me what's the pattern string mean. if(ereg("[\\][n]",$username)) { /*Do err*/ }
It's looking for a \ character or a \ character followed by the letter n anywhere within the string $username. -- ---John Holmes... Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/ PHP|Architect: A magazine for PHP Professionals – www.phparch.com

« previous php.general (#156774) next »