Hi all,

I have this kind of problem:

One mailing - conference (like this:), where I am,
always add name of it behind, example:
name: Brano
name of conference: Programators

so when someone write, name of him looks like:
Brano - Programators
and not "Brano"

It is terrible when I reply to someone and it looks like this:
on Wednesday, October 17, 2001 at 17:47 (+0200) typed
Brano - Programators [B]:
...

So I did a small REGEXP (with help from Silviu Cojocaru
<[EMAIL PROTECTED]> -thanks) and it looks like this:

%SETPATTREGEXP='^From:\s*\"(.*)\s\-\s*.*'%-
%REGEXPMATCH="%HEADERS"%-

(because in RFC header normal name looks like:
From: "Brano - Programators" <[EMAIL PROTECTED]>

And YEAH - it works. But problem is not this.

Someone (I am slavic) write his name with special charakcters like
"ľščťžýáí..." and his RFC header looks:
From: "Jarom=?iso-8859-2?q?=EDr_Pe=B9out_-_Programators"_?=<[EMAIL PROTECTED]>
(it is Jaromír Pešout)

Ok, I did another regexp:
%REM="%SETPATTREGEXP='^From:\s*\"(.*)\_\-.*'%-"
%REGEXPMATCH="%HEADERS"%-

But when I use it, I get this:
on Wednesday, October 17, 2001 at 17:47 (+0200) typed
Jarom=?iso-8859-2?q?=EDr_Pe=B9out [JPP]:

So now you see the MAIN PROBLEM - how to achive that the name will be
written correct ? I want get this:
on Wednesday, October 17, 2001 at 17:47 (+0200) typed
Jaromír Pešout [JPP]:

thanks...and sorry for my terrible english.


--
 --+ +--  +-     WEB: www.2ge.sk        Mail: [EMAIL PROTECTED]
+--+ |  - +--    IRC: _2ge_ (ircnet)    ICQ UIN: 7552083
+====+==+=+====- The Bat! 1.53bis on Windows NT 2195.5.0

A a duplicate duplicate tagline tagline is is two two byl


--
______________________________________________________
Archives   : http://tbtech.thebat.dutaint.com
Moderators : mailto:[EMAIL PROTECTED]
Unsubscribe: mailto:[EMAIL PROTECTED]

Reply via email to