code: def interpret_element(element_type: str, text: str, span: str) -> Element:
      
      return Element(element_type,
                     interpret_span(span),
                     text)
docs: Construct an Element instance from regexp
      groups.