MCPcopy Index your code
hub / github.com/pyfa-org/Pyfa / _extract_match

Function _extract_match

service/port/xml.py:56–61  ·  view source on GitHub ↗
(t)

Source from the content-addressed store, hash-verified

54
55
56def _extract_match(t):
57 m = LOCALIZED_PATTERN.match(t)
58 if m is None:
59 raise ExtractingError
60 # hint attribute, text content
61 return m.group(1), m.group(2)
62
63
64def _resolve_ship(fitting, sMkt, b_localized):

Callers 2

_resolve_shipFunction · 0.85
_resolve_moduleFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected