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

Bug#488463: apt-cache: regex compilation error



On Sun, Jun 29, 2008 at 12:31:03AM -0400, Joe Nahmias <joe@nahmias.net> was heard to say:
> Package: apt
> Version: 0.7.12
> Severity: normal
> File: /usr/bin/apt-cache
> 
> 
> Hi,
> 
> I got the following error when trying to search for all the debug
> packages:
> 
> $ apt-cache search \*-dbg
> E: Regex compilation error

  That's not a valid regex -- you want to use

    $ apt-cache search .\*-dbg

  and read about regular expressions, for instance at the Wikipedia
article:

    http://en.wikipedia.org/wiki/Regular_expression

  or this site:

    http://www.regular-expressions.info/

  apt uses POSIX regular expressions.

  Daniel



Reply to: