Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 3316 - emerge -s doesn't handle + signs
Summary: emerge -s doesn't handle + signs
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Daniel Robbins (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-06-01 22:58 UTC by Dan Armak (RETIRED)
Modified: 2011-10-30 22:19 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dan Armak (RETIRED) gentoo-dev 2002-06-01 22:58:54 UTC
If I call "emerge -s gtk+" (and even 'gtk+' to ensure bash doesn't expand it in any way), the output is the same as for "emerge -s gtk", i.e. many results without the + in them.  If I call "emerge -s gtk++", it produces no output and this traceback: laptop portage # emerge -s gtk++ Traceback (most recent call last):   File "/usr/bin/emerge", line 1172, in ?     searchinstance.execute()   File "/usr/bin/emerge", line 150, in execute     if re.search(self.searchkey.lower(), package_parts[1].lower()):   File "/usr/lib/python2.2/sre.py", line 137, in search     return _compile(pattern, flags).search(string)   File "/usr/lib/python2.2/sre.py", line 228, in _compile     raise error, v # invalid expression sre_constants.error: multiple repeat
Comment 1 Daniel Robbins (RETIRED) gentoo-dev 2002-06-20 13:05:00 UTC
Use \+ instead, as a literal "+" has a special meaning in a regular expression.