code: def _get_template_attr(self, attr):
          '''Find the attribute value for a specific attribute.
  
          :param attr: string of attribute name
          :returns: string of attribute value
          '''
  
          attr_re = r'{0}\s+.*'.format(attr)
  
          attr_found = re.search(attr_re, self.template_str)
          if attr_found:
              attr_value = attr_found.group(0).replace(attr, '', 1)
              return attr_value.strip(f _get_template_attr(self, attr):
          '''Find the attribute value for a specific attribute.
  
          :param attr: string of attribute name
          :returns: string of attribute value
          '''
  
          attr_re = r'{0}\s+.*'.format(attr)
  
          attr_found = re.search(attr_re, self.template_str)
          if attr_found:
              attr_value = attr_found.group(0).replace(attr, '', 1)
              return attr_value.strip()
docs: Find the attribute value for a specific attribute.
  
          :param attr: string of attribute name
          :returns: string of attribute value