Extracted from Pike v8.0 release 28 as of 2015-08-03.
   

Method Parser.HTML()->parse_tag_name()


Method parse_tag_name

string parse_tag_name(string tag)

Description

Parses the tag name from a tag string without the surrounding brackets, i.e. a string on the form "tagname some='tag'  args".

Returns

Returns the tag name or an empty string if none.