>Subject: =?utf-8?B?YmF5cmFtIHRlYnJpxJ9pLi4=?=

It is more easy than you think. Show the mail in your client or decode it 
in assp and put the human readable (or transliterated) subject in to the 
regex.

IMHO , redRe will find both, the encoded and the decoded variant

(?:^|\n)Subject:\s*=\?utf-8\?B\?YmF5cmFtIHRlYnJpxJ9pLi4=\?=
(?:^|\n)subject:\s*bayram\s+tebriği\.\.

using the encoded variant, the regex will not match, if the next mail is 
encoding the same subject with 'quoted printable' - like 
Subject: =?utf-8?Q?bayram tebri=C4=9Fi=?=

or the characterset is changed like:

Subject: =?ISO-8859-3?Q?bayram tebri=BBi=?=

This belongs to all regular expressions. Never try to search for any 
MIME-encoded content - search for human readable text or the 
transliterated variant.

real unicode: - subject: bayram tebriği..
transliterated: - subject: bayram tebrigi..

The GUI analyzer has a switch to transliterate an email.

Thomas





Von:    Katip <ka...@katip.com>
An:     ASSP development mailing list <assp-test@lists.sourceforge.net>
Datum:  25.09.2015 07:56
Betreff:        [Assp-test] MIME subject decoding



bombSubjectRe
"...the mail subject will be automatically checked against RFC2047 (for 
NON printable characters in the undecoded MIME content)"

i wonder if the same would be possible to identify a redRe in subjects 
such as:
Subject: =?utf-8?B?YmF5cmFtIHRlYnJpxJ9pLi4=?=

as far as i see there is no option for this. any workaround? TIA

Katip

------------------------------------------------------------------------------
_______________________________________________
Assp-test mailing list
Assp-test@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/assp-test




DISCLAIMER:
*******************************************************
This email and any files transmitted with it may be confidential, legally 
privileged and protected in law and are intended solely for the use of the 

individual to whom it is addressed.
This email was multiple times scanned for viruses. There should be no 
known virus in this email!
*******************************************************

------------------------------------------------------------------------------
_______________________________________________
Assp-test mailing list
Assp-test@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/assp-test

Reply via email to