fix: correct scraper paths and patterns, populate target files

This commit is contained in:
Abdessamad Derraz
2026-03-26 09:18:39 +01:00
parent 03a9fa3276
commit dfb7d9a25a
5 changed files with 9191 additions and 43 deletions

View File

@@ -34,8 +34,8 @@ _SH_EMULATOR_RE = re.compile(
re.MULTILINE,
)
_PS1_EMULATOR_RE = re.compile(
r'(?:function\s+|^)(?:Check|Install|Setup)([A-Za-z0-9_]+)\s*\{',
re.MULTILINE,
r'function\s+(?:check|install|setup)([A-Za-z0-9_]+)\s*(?:\(\))?\s*\{',
re.MULTILINE | re.IGNORECASE,
)