a169c6c74b172002d383f07f94eff5fd8c7248e7
The previous single-pattern approach used a greedy `[^.\x60]*` segment that mis-captured H3 headers without a namespace prefix (e.g. test-lib entrypoints documented as `### \`run_tests(ctx)\``). Replace with a two-pass match: pattern 1 captures `### \`ns.func(...)\`` (namespaced) and pattern 2 captures `### \`func(...)\`` (no namespace). A seen-set prevents the namespace-less pass from re-matching names already collected by the namespaced pass. Enables test-libs to declare a public surface in their READMEs and satisfy --lint's missing-docs check. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
lib-core.api-discovery
Pure-Lua-Library for surface-discovery (extract M.* from Lua source) and README-parsing (extract documented API from markdown). Sandbox-safe — no FS, no side-effects. Used by Sporel's --lint CLI mode.
Version: 0.1.0
Description
Languages
Lua
100%