Re: [PHP] preg help (regexp newbie) whitespace

2002-07-01 Thread Jason Wong

On Tuesday 02 July 2002 10:06, Justin French wrote:

> what's the correct pattern for "one or more whitespaces" (including \n\r\t
> and anything else I'm missing)?

I prefer the PCRE so:

\s+

> what about "zero or more whitespaces"?

\s*

It's all in the manual!

-- 
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *

/*
Everyone can be taught to sculpt: Michelangelo would have had to be
taught how ___not to.  So it is with the great programmers.
*/


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




[PHP] preg help (regexp newbie) whitespace

2002-07-01 Thread Justin French

Hi all,

what's the correct pattern for "one or more whitespaces" (including \n\r\t
and anything else I'm missing)?

what about "zero or more whitespaces"?

Thanks in advance,

Justin French


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