The ? meta-character is used for matching zero or one occurence of the
preceding character , in this case , l .
T'his means that you'll match all words that begin with 'Wi' and continue
with one or zero 'l' .

HTH
Sorin Ifrim

----- Original Message -----
From: Dhaval Desai <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, February 19, 2001 7:23 AM
Subject: [PHP] REgular expression....difficult is it?


> Hi!
>
>
> I am not able to understand this REgular expression.
>
> /Wil?/
>
> would match "Winnie", "Wimpy" "Wilson" and "William",
> though not "Wendy" or "Wolf".
>
> Howz taht..?
>
>
> Can anybody explain me please.
>
> Thank You!
> Dhaval Desai
>
> __________________________________________________
> Do You Yahoo!?
> Get personalized email addresses from Yahoo! Mail - only $35
> a year!  http://personal.mail.yahoo.com/
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to