Subject: Help with %CCList
From: Januk Aggarwal
Dated: Thu, 3 May 2001, 21:16:49 (11:16:49 PM Local)
Hi Januk,
J> I suspect you're only trying 4 addresses. The problem isn't the
J> subpatterns, it is the last address. If you try the old one with 6
J> addresses, the 6th won't appear.
You are correct, sir!!
J> To resolve that, try this:
J>
%SETPATTREGEXP="(?i)^((.*?)\s*(\<.*?\>)?[;,]\s*)?((.*?)\s*(\<.*?\>)?[;,]\s*)?((.*?)\s*(\<.*?\>)?[;,]\s*)?((.*?)\s*(\<.*?\>)?[;,]\s*)?((.*?)\s*(\<.*?\>)?[;,]\s*)?((.*?)\s*(\<.*?\>)?[;,]\s*)?((.*?)\s*(\<.*?\>)?[;,]\s*)?((.*?)\s*(\<.*?\>)?[;,]\s*)?((.*?)\s*(\<.*?\>)?[;,]\s*)?((.*?)\s*(\<.*?\>)?[;,]\s*)?((.*?)\s*(\<.*?\>)?[;,]\s*)?((.*?)\s*(\<.*?\>)?[;,]\s*)?((.*?)\s*(\<.*?\>)?[;,]\s*)?((.*?)\s*(\<.*?\>)?[;,]\s*)?((.*?)\s*(\<.*?\>)?[;,]\s*)?.*?$"
J> %REGEXPBLINDMATCH="%CCLIST, "
J> It is a *slightly* modified version of what I posted earlier. See if
J> that works better for you.
Works like a charm! Thank you, thank you, thank you!! Seriously, you
have saved me a lot of time as I was having to reformat all my CC
lists manually.
Someday I am going to have to break down and learn Regex.
Thanks again for the help.
--
(,_ ,_, _,) �� Nick
/|\`-._( )_.-'/|\ Danger
/ | \`'-/ \-'`/ | \
/ |_.'-.\ /.-'._| \ [MUA: TB! 1.52 Beta/14]
/_.-' " `-._\ [OS: Win98 4.10 1998]
"Once the game is over, the king and the pawn go back in the same box."
-Italian Proverb
--
______________________________________________________
Archives : <http://tbtech.thebat.dutaint.com>
Moderators : <mailto:[EMAIL PROTECTED]>
Unsubscribe: <mailto:[EMAIL PROTECTED]>
You are subscribed as : [email protected]