mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
ignore leading numbers search_privates
This commit is contained in:
parent
43016e6766
commit
4c749a30cf
@ -27,7 +27,7 @@ def get_private_declare(content):
|
|||||||
|
|
||||||
priv_dec_str = ''.join(priv_srch_declared)
|
priv_dec_str = ''.join(priv_srch_declared)
|
||||||
|
|
||||||
srch = re.compile('(?<![_a-zA-Z])(_[a-zA-Z]*?)[ ,\}\]\)";]')
|
srch = re.compile('(?<![_a-zA-Z0-9])(_[a-zA-Z]*?)[ ,\}\]\)";]')
|
||||||
priv_split = srch.findall(priv_dec_str)
|
priv_split = srch.findall(priv_dec_str)
|
||||||
priv_split = sorted(set(priv_split))
|
priv_split = sorted(set(priv_split))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user