code: def setup_regex(self):
          
          self._RX_INTERFACE = (r"\n\s*interface\s+(?P<name>[a-z0-9_]+)(\s\((?P<symbol>[.\w+*=/-]+)\))?"
                                r"(?P<contents>.+?)"
                                r"end\s*interface\s+(?P=name)?")
          self.RE_INTERFACE = re.compile(self._RX_INTERFACE, re.I | re.DOTALL)
docs: Regex definitions for parsing the code elements.