Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Dispatcharr/Dispatcharr
/ extract_quoted
Function
extract_quoted
apps/epg/query_utils.py:50–55 ·
view source on GitHub ↗
(text)
Source
from the content-addressed store, hash-verified
48
phrases = {}
49
50
def
extract_quoted(text):
51
def
replacer(m):
52
key = f
'\x00P{len(phrases)}\x00'
53
phrases[key] = m.group(1)
54
return
key
55
return
re.sub(r
'"([^"]*)"'
, replacer, text)
56
57
processed = extract_quoted(raw_value)
58
Callers
1
parse_text_query
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected