MCPcopy Create free account
hub / github.com/0x4m4/hexstrike-ai / set_match_replace_rules

Method set_match_replace_rules

hexstrike_server.py:13366–13368  ·  view source on GitHub ↗

Set match/replace rules. Each rule: {'where','pattern','replacement'}

(self, rules: list)

Source from the content-addressed store, hash-verified

13364
13365 # ----------------- Match & Replace and Scope -----------------
13366 def set_match_replace_rules(self, rules: list):
13367 """Set match/replace rules. Each rule: {'where','pattern','replacement'}"""
13368 self.match_replace_rules = rules or []
13369
13370 def set_scope(self, host: str, include_subdomains: bool = True):
13371 self.scope = {'host': host, 'include_subdomains': include_subdomains}

Callers 1

http_framework_endpointFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected