Re: [PHP] REgular expression....difficult is it?

2001-02-18 Thread Ifrim Sorin
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:

Re: [PHP] REgular expression....difficult is it?

2001-02-18 Thread Brian White
At 21:23 18/02/2001 -0800, Dhaval Desai wrote: I am not able to understand this REgular expression. /Wil?/ English Translation: Find a string that contains "Wi" that may or may not be followed by "l". In pure "does the string match?" terms, your example is equivalent to /Wi/ would match

Re: [PHP] REgular expression....difficult is it?

2001-02-18 Thread CC Zona
[rearranged back to bottom-posting order, for clarity] In article 012901c09a35$7b64c640$[EMAIL PROTECTED], [EMAIL PROTECTED] ("Ifrim Sorin") wrote: I am not able to understand this REgular expression. /Wil?/ The ? meta-character is used for matching zero or one occurence of the