Load regex patterns from a JSONL file.
(self, jsonl_file)
| 8 | |
| 9 | class 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(): |
nothing calls this directly
no test coverage detected