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:42:36 | ||
Message-Id: | cd1f149f-53b7-6da7-92a4-74e7fa34c812@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 |
File name | MIME type |
---|---|
signature.asc | application/pgp-signature |