@classmethod
    def find_profile_dir(cls, profile_dir, config=None):
        profile_dir = expand_path(profile_dir)
        if not os.path.isdir(profile_dir):
            raise ProfileDirError('Profile directory not found: %s' % profile_dir)
        return cls(location=profile_dir, config=config)
Attempts to match input to the letters in the string, without regard for case.
dataset/ETHPy150Open ipython/ipython-py3k/IPython/core/profiledir.py/ProfileDir.find_profile_dir--crossover with--dataset/ETHPy150Open brehaut/picoparse/picoparse/text.py/caseless_string