where in the ereg("^[a-zA-Z0-9_]{3,15}$", $cuvant) i should place \s+ ?

----- Original Message ----- 
From: "Matt Matijevich" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Thursday, April 22, 2004 3:34 AM
Subject: Re: [PHP] Problems with patterns


> you need to account fir white space if you want phrases
> 
> \s+
> 
> 
> I would switch to preg_match() instead of ereg()
> 
> http://www.php.net/manual/en/function.preg-match.php
> 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to