[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: apt-get and regular expressions



On Wednesday, November 30, 2005 8:56, mijobe <mijobe@netcologne.de> wrote:

> Hi all,
>
> regular expression don't work correct with apt-get.
>
> eg apt-get install x11*
>
> tries to install
>
> libfox1.0-dbg
> libopenobex1
>
> and others. Seems that the last sign before the '*' is not evaluated.

It is, you just appear to have misunderstood what it's doing.

The expression you've specified says "the characters x and 1, followed by
zero or more repetitions of the character 1". Both of the package names you
quoted match that expression.

If you intended to match packages with names including the characters "x11"
then the relevant expression would be "x11.*".

Regards,

Adam



Reply to: