>(?:ht|f)tps?\:\/\/(?:\w[\w\.\-]*\.)?infonews1\.com

this regex will trigger on the following URLs:

http://?*.infonews1.com
https://?*.infonews1.com
ftp://?*.infonews1.com
ftps://?*.infonews1.com

where ?  is one single character (a-zA-z_)  and  *  could be multiple 
characters (a-zA-z_-.) - never one a single word!

Thomas


Von:    "Dale" <[email protected]>
An:     "ASSP development mailing list" <[email protected]>
Datum:  03.12.2010 18:43
Betreff:        Re: [Assp-test] Bombdatare




Hi

I have to confirm something.

My understanding was a regex like
(?:ht|f)tps?\:\/\/(?:\w[\w\.\-]*\.)?infonews1\.com

Would indentify emails with the url in the body such as infonews1.com or 
anything in front of infonews1 like, spam.infonews1.com

It appears that the bomb regex is being triggered for domains with words 
or 
combinations of letters of these urls.

An example, an email comes in with the word news or a letter combination 
of 
onew and it's triggering the bombregex

Is my understanding of it has to match the entire url incorrect?

Thanks

Dale





------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
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!
*******************************************************


------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
Assp-test mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/assp-test

Reply via email to