On Thu, 6 Mar 1997, mark david mcCreary wrote:
...
* ^TO \/[a-zA-Z]+-on(_at_)(_dot_)*
...
However, when I sent a message to
domain-name-on(_at_)dispatch(_dot_)mail-list(_dot_)com, no
match !!
...
Well, yes, that is true. Look at your regular expression -- you only
want addresses with alphabetical letters, THAT'S IT! If you want a dash,
add it to your subset. Dashes have to be the first thing since anywhere
else they define a range. Also your subset does not include numbers.
You might just be better off with [^ ,]+ which will get everything, no
matter what it is...
----------------------------------------------------------------------
Rob Perelman robp(_at_)eciti(_dot_)com http://www.eciti.com/robp/
San Diego Rocks sdrocks(_at_)eciti(_dot_)com http://www.eciti.com/sdrocks/
Alphabet Records alphabet(_at_)eciti(_dot_)com http://www.eciti.com/alphabet/
----------------------------------------------------------------------