docs: def detect_function_style(self, test_record):
          """Returns the index for the function declaration style detected in the given string
             or None if no function declarations are detected."""
          index = 0
          # IMPORTANT: apply regex sequentially and stop on the first match:
          for regex in FUNCTION_STYLE_REGEX:
              if re.search(regex, test_record):
                  return index
              index+=1
          return None