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

Function strip_forms

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

Source from the content-addressed store, hash-verified

801def strip_comments(html):
802 return strip_between("<!--", "-->", html)
803def strip_forms(html):
804 return strip_between("<form.*?>", "</form>", html)
805
806RE_AMPERSAND = re.compile("\&(?!\#)") # & not followed by #
807RE_UNICODE = re.compile(r'&(#?)(x|X?)(\w+);') # &#201;

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…