The compiled regular expressions _LINK_NAME_RE and _INCLUDE_PATH_RE
are defined inline between the functions that use them, which scatters
module-level state through the file. Move both of them to the top of
the module, next to the IncludeSpec and Includes type aliases, and
group them under a Constants section header so that all module-level
definitions appear before the first function.
Assisted-by: unsloth/Qwen3.8-27B-GGUF:Q4_K_M with pi.dev v0.84.2
Signed-off-by: Jan Lindemann <jan@janware.com>