Regex's kill kids.

This commit is contained in:
jaynus 2015-04-16 09:48:21 -07:00
parent cdb460d36d
commit 9d87f08aa6

View File

@ -16,7 +16,7 @@ def get_private_declare(content):
priv_dec_str = ''.join(priv_srch_declared)
srch = re.compile('')
srch = re.compile('(?<![_a-zA-Z0-9])(_[a-zA-Z]*?)[ ,\}\]\)";]')
priv_split = srch.findall(priv_dec_str)
priv_split = sorted(set(priv_split))
priv_declared += priv_split;