6890:26c1042f2eec | 6891:93f82da09f22 |
---|---|
175 """ | 175 """ |
176 import re | 176 import re |
177 | 177 |
178 m = re.match(r"(\w+(\.\w+)*)\.(\w*)", text) | 178 m = re.match(r"(\w+(\.\w+)*)\.(\w*)", text) |
179 if not m: | 179 if not m: |
180 return | 180 return [] |
181 expr, attr = m.group(1, 3) | 181 expr, attr = m.group(1, 3) |
182 try: | 182 try: |
183 thisobject = eval(expr, self.namespace) | 183 thisobject = eval(expr, self.namespace) |
184 except Exception: | 184 except Exception: |
185 return [] | 185 return [] |