We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2cc7767 commit bef480eCopy full SHA for bef480e
scripts/microgenerator/generate.py
@@ -27,6 +27,7 @@
27
import argparse
28
import glob
29
import logging
30
+import re
31
from collections import defaultdict
32
from pathlib import Path
33
from typing import List, Dict, Any
@@ -709,9 +710,8 @@ def _execute_post_processing(config: Dict[str, Any]):
709
710
711
if all_start_index != -1 and all_end_index != -1:
712
all_content = "".join(lines[all_start_index + 1 : all_end_index])
- # Extract quoted strings
713
- import re
714
+ # Extract quoted strings
715
found_members = re.findall(r'"([^"]+)"', all_content)
716
for member in found_members:
717
if member not in all_list:
0 commit comments