ASSP converts all html entities to UTF-8 - also in the mail-body html text 
before the regex checks are done.

instead of "&lt;a href=" use "<a href\=" in the regex - notice the escaped 
'=', this is possibly needed, because the '=' is the 'html end of line 
tag'

In normal cases, you could copy and past the text from your mail client 
into a regex (escape special regex characters like '+-?*' and so on). This 
belongs also to german 'Umlauts' and every non-ASCII (127) characters like 
chinese - arabic - cyrillic - greek .... 

This is done because '&lt;' could be replaced by %hex, #&dez .. octal ... 
UTF8 ... UTF16/32   and any other possible HTLM encoding - on which '&lt;' 
would never match. ASSP will convert them all to '<' .

Thomas




Von:    Matti Haack <[email protected]>
An:     ASSP development mailing list <[email protected]>
Datum:  30.11.2011 09:34
Betreff:        [Assp-test] Regex problem with html entities




Hello,

I  have  a problem with V2, whenever I try to add a regex with an html
entitiy   like  "&lt;a href=" it is converted to "<a href" - even when
I edit the file with an external editor.

What am I doing wrong?

Matti


-- 
Matti Haack - Hit Haack IT Service Gmbh
Geschäftsführer: Henry Haack
HRB Passau Nr. 5678
Poltlbauer Weg 4, D-94036 Passau
+49 851 50477-22 Fax: +49 851 50477-29
http://www.haack-it.de



------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Assp-test mailing list
[email protected]
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!
*******************************************************


------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Assp-test mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/assp-test

Reply via email to