MCPcopy Index your code
hub / github.com/clips/pattern / strip_comments

Function strip_comments

pattern/web/__init__.py:801–802  ·  view source on GitHub ↗
(html)

Source from the content-addressed store, hash-verified

799def strip_inline_css(html):
800 return strip_between("<style.*?>", "</style>", html)
801def strip_comments(html):
802 return strip_between("<!--", "-->", html)
803def strip_forms(html):
804 return strip_between("<form.*?>", "</form>", html)
805

Callers 1

plaintextFunction · 0.85

Calls 1

strip_betweenFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…