diff --git a/PyDictionary/core.py b/PyDictionary/core.py index 1eb7298..db3f7a1 100644 --- a/PyDictionary/core.py +++ b/PyDictionary/core.py @@ -125,7 +125,7 @@ def meaning(term, disable_errors=False): for a in types: reg = str(lists[types.index(a)]) meanings = [] - for x in re.findall(r'\((.*?)\)', reg): + for x in re.findall(r'\(((?:\(.*?\)|.*?)*)\)', reg): if 'often followed by' in x: pass elif len(x) > 5 or ' ' in str(x):