Hi Mark,
On Wed, 9 Aug 2000 10:57:22 +0100GMT (09/08/2000, 17:57 +0800GMT),
Mark R Harding wrote:
MRH> Just a thought on this ... if the 'bit before the @ sign' contains
MRH> non-alpha characters (ie, numeric or punctuation) would this still
MRH> work because the way I read the above would be...
MRH> ([a-zA-Z]*)@
MRH> = match any sequence of lower-case or upper-case characters in the
MRH> range a-z and A-Z followed by an '@' symbol.
MRH> If the sequence before the '@' symbol contains numbers or
MRH> punctuation would this still match?
No. The list members suggested that I include all allowed special
characters, but I personally decided against it, because in our
company, we don't use them. Somewhere in the archives, there is a
version that covers all possible email addresses. You are absolutely
right in assuming that this regex matches only alpha characters. ;-)
--
Cheers,
Thomas.
Message reply created with The Bat! 1.45
under Chinese Windows 98 4.10 Build 1998
on a Pentium II/350 MHz.
--
--------------------------------------------------------------
View the TBUDL archive at http://tbudl.thebat.dutaint.com
To send a message to the list moderation team double click here:
<mailto:[EMAIL PROTECTED]>
To Unsubscribe from TBUDL, double click here and send the message:
<mailto:[EMAIL PROTECTED]>
--------------------------------------------------------------
You are subscribed as : [email protected]