Added a trailing '\>' to regular expression on python's import grep.