Added regex parser as valid parsing algorithm
parent
d95ebeacfe
commit
90d88d5d69
|
@ -32,7 +32,7 @@ class PyMISPWarningListsError(Exception):
|
||||||
|
|
||||||
class WarningList():
|
class WarningList():
|
||||||
|
|
||||||
expected_types = ['string', 'substring', 'hostname', 'cidr']
|
expected_types = ['string', 'substring', 'hostname', 'cidr', 'regex']
|
||||||
|
|
||||||
def __init__(self, warninglist, slow_search=False):
|
def __init__(self, warninglist, slow_search=False):
|
||||||
self.warninglist = warninglist
|
self.warninglist = warninglist
|
||||||
|
|
Loading…
Reference in New Issue