DNF and regular expressions
Jan Zelený
jzeleny at redhat.com
Mon Jun 29 14:28:39 UTC 2015
On 29. 6. 2015 at 12:21:30, Petr Stodulka wrote:
> On 29.6.2015 12:12, Germano Massullo wrote:
> > What is wrong with DNF's regular expression
> > # dnf remove *debuginfo*.fc20.x86_64
> > ? I am on F22 but I have a lot packets that should match that regular
> > expression, but dnf does not find them.
> > I also tried to add some escape chars like
> > dnf remove *\-debuginfo\-*.fc20.x86_64
> > but the result is the same
>
> May it searches only names of packages instead of rpm names?
If I understand the documentation[1] correctly, globs are indeed expanded only
in the name of a package. However, there is a bug[2] open for this. If you
provide your use case there, it will help prioritizing the bug.
[1]
http://dnf.readthedocs.org/en/latest/command_ref.html?highlight=glob#specifying-packages
[2] https://bugzilla.redhat.com/show_bug.cgi?id=1199432
Thanks
Jan
More information about the devel
mailing list