update DB

enhance scanner.py
This commit is contained in:
Dr.Lt.Data
2024-04-25 22:45:23 +09:00
parent e26f1dd1f1
commit 8ff0f1dac3
3 changed files with 213 additions and 2 deletions

View File

@@ -88,6 +88,11 @@ def scan_in_file(filename, is_builtin=False):
for key in keys:
nodes.add(key.strip())
pattern4 = r'@register_node\("(.+)",\s*\".+"\)'
keys = re.findall(pattern4, code)
for key in keys:
nodes.add(key.strip())
matches = regex.findall(code)
for match in matches:
dict_text = match