Extract the specified AnchorHub tag, as well as the portion of the
        line that should be converted from the ATX style Markdown header.

        :param file_lines: List of strings corresponding to lines in a text file
        :param index: index of file_lines corresponding to the current line
        :return: [tag, string] - tag: the extracted AnchorHub tag. string -
            the portion of the header that should be converted into an anchor

def get(self, file_lines, index):
        """
        Extract the specified AnchorHub tag, as well as the portion of the
        line that should be converted from the ATX style Markdown header.

        :param file_lines: List of strings corresponding to lines in a text file
        :param index: index of file_lines corresponding to the current line
        :return: [tag, string] - tag: the extracted AnchorHub tag. string -
            the portion of the header that should be converted into an anchor
        """
        line = file_lines[index]
        start_index = line.find('# ') + 2   # Start index for header text
        start_tag = line.rfind(self._open)  # Start index of AnchorHub tag
        end_tag = line.rfind(self._close)   # End index of AnchorHub tag

        # The magic '+1' below knocks out the hash '#' character from extraction
        tag = line[start_tag + len(self._open) + 1:end_tag]
        string = line[start_index:start_tag]
        return [tag, string]