Environment
- pip version: 19.0.3
- Python version: 3.7.1
- OS: macOS Mojave 10.14.3
- Terminal: Default apple Terminal: 2.9.1
Description
Searching a term with pip3 search [foo] will only return libraries or descriptions with [foo] followed by whitespace or dash. Whilst any prefixes or upper/lower combination will be returned. I am wondering if this is a result of the terminal adding a whitespace after any command being entered.
Expected behavior
Returning all libraries that include the term in anyway in the description or name.
How to Reproduce
Search any term you know is included/vital in a library but does not end in the term.
Ex: pip3 search wx -> fails to return wxPython


This issue was raised in pip repository, was told this was the more appropriate repo for raising this issue.