Gentoo Archives: gentoo-portage-dev

From: Zac Medico <zmedico@g.o>
To: "Michał Górny" <mgorny@g.o>, gentoo-portage-dev@l.g.o
Cc: Zac Medico <zmedico@g.o>
Subject: Re: [gentoo-portage-dev] [PATCH v2] emerge --search: auto-detect regular expressions (bug 737480)
Date: Wed, 02 Sep 2020 06:40:22
Message-Id: 342cd60b-6733-ebbc-3107-2e3ef5ec6e89@gentoo.org
In Reply to: Re: [gentoo-portage-dev] [PATCH v2] emerge --search: auto-detect regular expressions (bug 737480) by "Michał Górny"
1 On 9/1/20 11:08 PM, Michał Górny wrote:
2 > On Tue, 2020-09-01 at 19:59 -0700, Zac Medico wrote:
3 >> Automatically detect regular expressions when the search string
4 >> contains any of these regular expression characters or character
5 >> sequences:
6 >>
7 >> ^ $ * [ ] { } | ? .+
8 >
9 > Isn't this going to break search for gtk+?
10
11 It matches the literal sequence '.+', so a 'gtk+' search string
12 will not trigger it. Since '.' is not allowed in package names,
13 it shouldn't be very useful except for regular expressions.
14 --
15 Thanks,
16 Zac

Attachments

File name MIME type
signature.asc application/pgp-signature