Package: apt-file
Version: 2.0.8.2
Severity: normal

Using the --regexp option with grouping does not work:

$ apt-file search --regexp '(etc/perl|usr/lib/perl5)/Template.pm'
perl5: usr/lib/perl5/Template.pm

Aha, apt-file is a perl script. So I tried the following instead:

$ apt-file search --regexp '(?:etc/perl|usr/lib/perl5)/Template.pm'
libtemplate-perl: usr/lib/perl5/Template.pm

This looks much better. But I think this should be done somehow
by apt-file automatically. Or be documented.

Regards,
    Slaven

-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.18-4-486
Locale: LANG=hr_HR.UTF-8, LC_CTYPE=hr_HR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages apt-file depends on:
ii  gzip                          1.3.5-15   The GNU compression utility
ii  libapt-pkg-perl               0.1.20     Perl interface to libapt-pkg
ii  libconfig-file-perl           1.41-1     Parses simple configuration files
ii  perl                          5.8.8-12   Larry Wall's Practical Extraction 
ii  wget                          1.10.2-2   retrieves files from the web

apt-file recommends no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to