Re: REgular expression....difficult is it?
| From: | Brian White | Date: | Mon, 19 Feb 2001 05:33:28 +0000 |
| Subject: | Re: REgular expression....difficult is it? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-40512@lists.php.net to get a copy of this message | ||
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 "Winnie", "Wimpy" "Wilson" and "William", though not "Wendy" or "Wolf". Howz taht..?Does that help? ------------------------- Brian White Step Two Designs Pty Ltd - SGML, XML & HTML Consultancy Phone: +612-93197901 Web: http://www.steptwo.com.au/ Email: bwhite@steptwo.com.au