MCPcopy Create free account
hub / github.com/SpecterOps/DeepPass2 / __init__

Method __init__

utils/nprules.py:10–13  ·  view source on GitHub ↗

Load regex patterns from a JSONL file.

(self, jsonl_file)

Source from the content-addressed store, hash-verified

8
9class AsyncRegexChecker:
10 def __init__(self, jsonl_file):
11 """Load regex patterns from a JSONL file."""
12 self.patterns = self.load_patterns(jsonl_file)
13 self.executor = ThreadPoolExecutor()
14
15 def compile_pattern(self, pattern):
16 with warnings.catch_warnings():

Callers

nothing calls this directly

Calls 1

load_patternsMethod · 0.95

Tested by

no test coverage detected