Function parse_entity_tag
boost::taar::parse_entity_tag — Parse one entity tag from the start of text.
Synopsis
std::optional< entity_tag > parse_entity_tag(std::string_view & text);
Description
Leading whitespace is skipped. On success text is advanced past the tag. The opaque part may contain any etagc character (!, #-~ and obs-text) but no ".
Returns: |
The tag, or std::nullopt if text does not start with one. |