It has been changed in Debian, because a search for "/var/cache" would fail, without the removed slash.
I will change it as follows: 1. Do not remove the slash from the pattern 2. If there's a slash at the beginning, match both with pattern and pattern-with-slash removed, but anchored at the beginning For "apt-file search /sbin" the regexp should look like this then: D: regexp: ^(sbin|.*\/sbin[^\s]*)\s+(\S+)\s*$ You can see the generated regexp/pattern yourself by using the "-v" option with apt-file. The 2.0.5 change (trailing slash) is something different, see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=280690 I have it just fixed, but want to look at other bugs/wishes, too, before uploading it - hopefully tomorrow. -- apt-file search /ext2 ignores leading slash https://bugs.launchpad.net/bugs/181600 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
