MCPcopy Create free account
hub / github.com/blacklanternsecurity/bbot / replace

Method replace

bbot/core/event/base.py:436–438  ·  view source on GitHub ↗
(match)

Source from the content-addressed store, hash-verified

434 @discovery_context.setter
435 def discovery_context(self, context):
436 def replace(match):
437 s = match.group()
438 return s.format(module=self.module, event=self)
439
440 try:
441 self._discovery_context = self._discovery_context_regex.sub(replace, context)

Callers 15

pFunction · 0.80
dFunction · 0.80
MFunction · 0.80
parseRangeMethod · 0.80
bFunction · 0.80
wFunction · 0.80
OFunction · 0.80
xFunction · 0.80
IFunction · 0.80
vega-embed@6.jsFile · 0.80
constructorMethod · 0.80
_Function · 0.80

Calls 1

formatMethod · 0.45

Tested by 6

request_handlerMethod · 0.64
request_handlerMethod · 0.64
request_handlerMethod · 0.64
new_filter_eventMethod · 0.64
new_handle_eventMethod · 0.64
new_emit_eventMethod · 0.64