#1071744 search does not support patterns

Package:
apt
Source:
apt
Description:
commandline package manager
Submitter:
Konomi
Date:
2024-05-24 15:03:04 UTC
Severity:
normal
#1071744#5
Date:
2024-05-24 14:50:53 UTC
From:
To:
Dear Maintainer,

Running `apt search '?installed ?not(?automatic)'` results in the
following message: "Error: Regex compilation error". Using the same search
terms in aptitude `aptitude search '?installed ?not(?automatic)'` works
as expected.

Konomi

#1071744#10
Date:
2024-05-24 15:00:12 UTC
From:
To:
Control: retitle -1 search does not support patterns

Yes this is well known, the apt search command specifically can only
do text search, you are looking for the apt list command.

There's some limitations to actually allow search to take patterns,
as it currently builds a regular expression vector and then runs them
over the descriptions, hence why there's no patterns yet.