Thanks for the reply Thomas.   I appreciate the - clarification.

Might you consider changing senderbase functionality such that it looks for
an exact match?  I worry about allowing anything from Hosting Service (just
an example) but consider it a network name that we know only sends good,
erroneously matching Bob's Bad Hosting Service too in senderbase...

FYI - I was wondering why so many of my questions have gone unanswered
recently.  Totally not typical for you - I should have known better.  Turns
out the gmail servers were filtering your message to spam!  Irony in its
truest form....


On Sun, Jan 26, 2014 at 2:29 AM, Thomas Eckardt
<thomas.ecka...@thockar.com>wrote:

> 1) \bacer-euro\.com is listed.  Doesn't the - need to be escaped?  (if
> not,
> why not?)
>
> No need to escape the - here. It is required in a character class like
> [fth\-kl] - but not if the - is the last character in a character class
> like [a-z0-9-] see
> http://perldoc.perl.org/perlretut.html#Using-character-classes
> It does not matter to escape the - everywhere in a regex. like
> \bacer\-euro\.com
>
>
> >2) Should we use ^ to indicate beginning of line and $ to indicate end so
> that something like:
> Would ^Hosting Service$ work?
>
> No - assp processes all regexes against the complete target string
> (header, body, mail), there is no line processing!
>
> btw: \bHosting Service
> matches both: "Bob's Hosting Service" and "Hosting Service Inc."
>
> Thomas
>
>
>
>
>
>
>
> Von:    K Post <nntp.p...@gmail.com>
> An:     ASSP development mailing list <assp-test@lists.sourceforge.net>,
> Datum:  25.01.2014 18:16
> Betreff:        [Assp-test] Senderbase White Org regex
>
>
>
> I just downloaded 2.3.3 and am reviewing the whiteorg.txt sample file for
> SenderBase.
>
> I understand that that \b is necessary to indicate the word boundary.  I
> get that the . needs to be escaped with \ so they don't match any
> character.
>
> Questions:
> 1) \bacer-euro\.com is listed.  Doesn't the - need to be escaped?  (if
> not,
> why not?)
> 2) Should we use ^ to indicate beginning of line and $ to indicate end so
> that something like:
> \bHosting Service      (to match any host in the "Hosting Service" network
> doesn't match "Bob's Hosting Service" or "Hosting Service Inc."
> Would ^Hosting Service$ work?
>
> Thanks all!
> ken
>
> ------------------------------------------------------------------------------
> CenturyLink Cloud: The Leader in Enterprise Cloud Services.
> Learn Why More Businesses Are Choosing CenturyLink Cloud For
> Critical Workloads, Development Environments & Everything In Between.
> Get a Quote or Start a Free Trial Today.
>
> http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
>
> _______________________________________________
> 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!
> *******************************************************
>
>
>
>
> ------------------------------------------------------------------------------
> CenturyLink Cloud: The Leader in Enterprise Cloud Services.
> Learn Why More Businesses Are Choosing CenturyLink Cloud For
> Critical Workloads, Development Environments & Everything In Between.
> Get a Quote or Start a Free Trial Today.
>
> http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
> _______________________________________________
> Assp-test mailing list
> Assp-test@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/assp-test
>
>
------------------------------------------------------------------------------
WatchGuard Dimension instantly turns raw network data into actionable 
security intelligence. It gives you real-time visual feedback on key
security issues and trends.  Skip the complicated setup - simply import
a virtual appliance and go from zero to informed in seconds.
http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk
_______________________________________________
Assp-test mailing list
Assp-test@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/assp-test

Reply via email to