'Compiles the regular expressions required to parse the inventory and stores them in self.patterns.'

def _compile_patterns(self):

    self.patterns['groupname'] = re.compile('^[A-Za-z_][A-Za-z0-9_]*$')
