MCPcopy Create free account
hub / github.com/pyfa-org/Pyfa / re_fn

Function re_fn

eos/db/__init__.py:41–48  ·  view source on GitHub ↗
(expr, item)

Source from the content-addressed store, hash-verified

39
40
41def re_fn(expr, item):
42 try:
43 reg = re.compile(expr, re.IGNORECASE)
44 except (SystemExit, KeyboardInterrupt):
45 raise
46 except:
47 return False
48 return reg.search(item) is not None
49
50
51pyfalog.debug('Initializing gamedata')

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected