Dec-21-2018, 11:21 AM
Quote:that can search python source files and limit the search to just the specified part of the source,Using python's tokener, it is pretty easy to rewrite a python file by removing a subset of these categories. For example you could replace these tokens by white space, then search with regex in the remaining part. There are pure python grep packages such as 'grin', probably others in pypi.