diff --git a/capa/features/__init__.py b/capa/features/__init__.py index 9d18b8bd..40773a51 100644 --- a/capa/features/__init__.py +++ b/capa/features/__init__.py @@ -99,7 +99,7 @@ class Regex(String): raise ValueError( "invalid regular expression: %s it should use Python syntax, try it at https://pythex.org" % value ) - self.match = "" + self.match = None def evaluate(self, ctx): for feature, locations in ctx.items():