MCPcopy Index your code
hub / github.com/sqlmapproject/sqlmap / compress_text

Function compress_text

thirdparty/clientform/clientform.py:149–149  ·  view source on GitHub ↗
(text)

Source from the content-addressed store, hash-verified

147
148_compress_re = re.compile(r"\s+")
149def compress_text(text): return _compress_re.sub(" ", text.strip())
150
151def normalize_line_endings(text):
152 return re.sub(r"(?:(?<!\r)\n)|(?:\r(?!\n))", "\r\n", text)

Callers 1

__init__Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…