diff --git a/eigengdb/__init__.py b/eigengdb/__init__.py index ef4a33a..4f65f16 100644 --- a/eigengdb/__init__.py +++ b/eigengdb/__init__.py @@ -86,7 +86,7 @@ def __init__(self, variety, val): type = type.target() self.type = type.unqualified().strip_typedefs() tag = self.type.tag - regex = re.compile('\<.*\>') + regex = re.compile('<.*>') m = regex.findall(tag)[0][1:-1] template_params = m.split(',') template_params = [x.replace(" ", "") for x in template_params] @@ -181,7 +181,7 @@ def __init__(self, val): type = type.target() self.type = type.unqualified().strip_typedefs() tag = self.type.tag - regex = re.compile('\<.*\>') + regex = re.compile('<.*>') m = regex.findall(tag)[0][1:-1] template_params = m.split(',') template_params = [x.replace(" ", "") for x in template_params] diff --git a/example/example b/example/example index a9ccf4f..82aebeb 100755 Binary files a/example/example and b/example/example differ