def get_regex_resource(self, keyword):
        words = self.split_kw_to_words(keyword)
        regex_patter = '(?im)^'
        for word in words:
            regex_patter = '{0}{1}[_ ]?'.format(regex_patter, word.lower())
        regex_patter = regex_patter.rstrip('[_ ]?')
        return '{0}$'.format(regex_patter)
Reads ns5 file header and writes info to self.header
dataset/ETHPy150Open andriyko/sublime-robot-framework-assistant/command_helper/get_keyword.py/GetKeyword.get_regex_resource--crossover with--dataset/ETHPy150Open NeuralEnsemble/python-neo/neo/io/blackrockio_deprecated.py/Loader.load_header