ltm rule event HTML COMMENT MATCHEDΒΆ

iRule(1)						BIG-IP TMSH Manual						  iRule(1)

HTML_COMMENT_MATCHED
       Is raised when an HTML comment is encountered.

DESCRIPTION
       The HTML_COMMENT_MATCHED event is raised when an HTML comment is encountered in a document and there is a rule attached to
       the HTML profile that says to raise an event on matching comments.

Examples
	when HTML_COMMENT_MATCHED {
	  if { ! ( [HTML::comment] contains "\[" ) } {
	    HTML::comment remove
	  }
	}

	when HTML_COMMENT_MATCHED {
	  HTML::comment append "some_string"
	}

	when HTML_COMMENT_MATCHED {
	  HTML::comment prepend "some_string"
	}

HINTS
SEE ALSO
CHANGE LOG
       @BIGIP-11.0.0 --First introduced the event.

BIG-IP							    2022-04-12							  iRule(1)