ekalinin/pip-bash-completion — pull request #6 by antls (2014-10-03 15:13:48+00:00)
Title: Fix completion for Mac Os X

Due to some unclear reasons, grep from Mac OS X finds the matching for "^" after previous matched part. So, every two spaces after command name appears in result. Moreover, first word of command description may appears in result, if line has even number of spaces between command name and description.
I think proposed patch shouldn't break something in other systems, because command name should contain at least one alphanumeric character, so "\w+" will be matched all required cases.