[leafnode-list] Re: leafnode 2 not creating "all_links" in gmane?hierarchy.
Adam Funk
a24061 at ducksburg.com
Mon May 9 18:31:55 CEST 2011
On 2011-05-09, clemens fischer wrote:
> On Mon-2011/05/09-14:38 Adam Funk wrote:
...
>>> * Adam Funk on Monday, May 09, 2011 at 10:37:33 +0100
>>>> #v+
>>>> server = news.gmane.org
>>>> only_groups_pcre = (gmane\.|control\.)
>>>> #v-
>
> This doesn't bear on your problem, but why isn't this:
>
> only_groups_pcre = ^(gmane\.|control\.)
>
> Note the caret anchoring the pattern match at the very beginning.
> I can't think of a reason why your version should fail, but to me the
> caret looks "tidier". It also makes the match fail earlier and saves
> a few cycles.
Thanks for that!
>> Sorry, my leafnode is compiled with lua disabled; here's the full
>> output of leafnode-version:
>>
>> #v+
>> version: leafnode-2.0.0.alpha20090908a.luascript
>> current machine: Linux bunsen 2.6.35-28-generic #50-Ubuntu SMP Fri Mar 18 19:00:26 UTC 2011 i686 GNU/Linux
>> bindir: /usr/local/bin
>> sysconfdir: /etc/news/leafnode2
>> default spooldir: /var/spool/news
>> IPv6: yes
>> default MTA: /usr/sbin/sendmail
>> pcre version: 8.02 2010-03-19
>> Lua scripting: no
>> #v-
>
> Now that is nice to know. I think few people have simply tried to
> disable Lua in the newer leafnode2 versions. I'm glad the compatibility
> shim works. The requirement to have the Lua code present but allowing
> it to be disabled (ie. replaced by stubs) was one of the important
> points in my proposal when I came up with the idea.
Happy to help, even by accident. :-)
More information about the leafnode-list
mailing list