emerge -s cant find dvd+rw-tools but emerge -pv can. Reproducible: Always Steps to Reproduce: 1. emerge -s dvd+rw-tools 2. emerge -pv dvd+rw-tools 3. Actual Results: Searching... [ Results for search key : dvd+rw-tools ] [ Applications found : 0 ] These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild N ] app-cdr/dvd+rw-tools-5.17.4.8.6 89 kB Total size of downloads: 89 kB Expected Results: emerge -s sees dvd+rw-tools and displays information.
emerge -s uses regular expressions and + is a special char then.
*** Bug 66574 has been marked as a duplicate of this bug. ***
This is not invalid for the functionality of incorporating regular expressions in emerge will confuse the user and break searching for ebuilds with names containing '+'. This is not good at all and some sort of code needs to be created to seperate the ebuild textual name from the searching regular expression (possible in a seperate flag option).
# emerge -s ^dvd.*tools$
That is just a cheap work around. Come on emerge -s needs better functionality planing.
'better planning' It's been implemented for approaching 3 years now. It handles user-fudges for things like '++' but we cannot easily handle user-didn't-read-the-docs bugs.
I still suggest that some sort of rule be applied to the portage that excludes regex characters from ebuild names to prevent this bug from appearing more often. We have stated are opinions and shall let them be part of the growing knowledge base of the portage development debate.
*** Bug 140320 has been marked as a duplicate of this bug. ***
This is fixed by now.
This was fixed in svn r3876 and released in portage-2.1.1. Regex matching is now disabled unless the search string is prefixed with %.