From mboxrd@z Thu Jan 1 00:00:00 1970 From: zimoun Subject: Re: Re-approaching package tagging Date: Thu, 20 Dec 2018 00:12:04 +0100 Message-ID: References: <875zvsq8ov.fsf@dustycloud.org> <87imzrgjit.fsf@gnu.org> <87h8fa7ums.fsf@dustycloud.org> <871s6dwob2.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43607) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gZl0m-0008Sg-Tn for guix-devel@gnu.org; Wed, 19 Dec 2018 18:12:22 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gZl0l-0008Lt-U2 for guix-devel@gnu.org; Wed, 19 Dec 2018 18:12:20 -0500 In-Reply-To: List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: =?UTF-8?Q?Ludovic_Court=C3=A8s?= Cc: Guix Devel Hi, I partially answer to myself. ;-) > 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? http://git.savannah.gnu.org/cgit/guix.git/tree/guix/scripts/package.scm#n754 And the regexp engine comes from the module (ice-9 regex), right? Documented there: https://www.gnu.org/software/guile/manual/html_node/Regular-Expressions.html#Regular-Expressions > 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? Thank you and sorry if I am slow to understand. All the best, simon