Added regex parser as valid parsing algorithm

regex-type
Andras Iklody 2018-01-20 08:32:20 +01:00 committed by GitHub
parent d95ebeacfe
commit 90d88d5d69
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ class PyMISPWarningListsError(Exception):
class WarningList():
expected_types = ['string', 'substring', 'hostname', 'cidr']
expected_types = ['string', 'substring', 'hostname', 'cidr', 'regex']
def __init__(self, warninglist, slow_search=False):
self.warninglist = warninglist