[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Re-approaching package tagging

From: Ludovic Courtès
Subject: Re: Re-approaching package tagging
Date: Thu, 20 Dec 2018 08:53:12 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)


zimoun <address@hidden> skribis:

>> And how the regexp works ?
>> I am not able to find some doc... I am diving in the code but it is
>> not easy to find. :-)
> If I understand well, basically the code is here, right?
> And the regexp engine comes from the module (ice-9 regex), right?
> Documented there:

Yes, just plain POSIX regexps.

>> For example, how to search package with the name emacs and not the name 
>> emacs-
>> or how to search package with the name emacs and with the decription GNU?
>> The '-s foo -s bar' is OR. What about the AND?
>> etc.
> This needs more than the actual implementation, right?

Having multiple -s flags makes it an “or” but it influences the
relevance score:

So if you take the results with the highest score, that’ll probably be
those that match all the regexps.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]