MCPcopy Index your code
hub / github.com/python/cpython / unmatched

Function unmatched

Lib/http/cookiejar.py:339–342  ·  view source on GitHub ↗

Return unmatched part of re.Match object.

(match)

Source from the content-addressed store, hash-verified

337# -----------------------------------------------------------------------------
338
339def unmatched(match):
340 """Return unmatched part of re.Match object."""
341 start, end = match.span(0)
342 return match.string[:start]+match.string[end:]
343
344HEADER_TOKEN_RE = re.compile(r"^\s*([^=\s;,]+)")
345HEADER_QUOTED_VALUE_RE = re.compile(r"^\s*=\s*\"([^\"\\]*(?:\\.[^\"\\]*)*)\"")

Callers 1

split_header_wordsFunction · 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…