On 12/12/2012 09:23 PM, Julien Viard de Galbert wrote: > On Wed, Dec 12, 2012 at 08:38:01PM +0100, Nikos Mavrogiannopoulos > wrote: >> Package: webalizer Version: 2.23.05-1 Severity: wishlist Tags: >> upstream >> >> Hello, > > Hello, > >> Trying to group the google sites with webalizer is hell as its >> matching algorithm is primitive. For example: www.google.co.uk, >> www.google.com and www.google.ie cannot be catched by using >> something like www.google.* > > Are you sure ? From a quick read to the code, it seams to me that > this exact pattern would match in this case.
It doesn't in my case. For example I used: GroupReferrer www.google.* Google and no grouping occurred. That's why I added the patch. >> >> The attached (quick) patch allows perl regular expressions for >> advanced matching and allows rules like: GroupReferrer >> @www\.google\..* Google GroupReferrer >> @[a-zA-Z\.]*freecode\.com/.* Freecode > OK if you actually need that one, yes it might help. But note that > you can use a pattern with no star: freecode.com/ and it will > match all referrer containing the string. > That said, if you really want that feature integrated you'd have > to > convince upstream directly, there are already too many differences > between debian and upstream and I don't really want to add more. I had issue with matching at the endings of strings. In any case I'll submit upstream. regards, Nikos -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

