diff --git a/cardstock/analyzer.py b/cardstock/analyzer.py index f0aea7f..fbad9d0 100644 --- a/cardstock/analyzer.py +++ b/cardstock/analyzer.py @@ -97,7 +97,7 @@ def RunAnalysis(self): def GetTypeFromLeadingString(self, handlerObj, leadingStr): """ Return the parent type, parent obj, type, and object of the last token in leadingStr """ cleaned = re.sub(r'\([^)]*\)', '', leadingStr) - for c in ' ()[{/': + for c in ' ()[{/+-*%:<>,': cleaned = cleaned.split(c)[-1] parts = cleaned.split('.')