Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
Indexed
MCP
copy
Index your code
hub
/
github.com/numpy/numpy
/ build_func_rx
Function
build_func_rx
tools/ci/check_c_api_usage.py:84–85 ·
view source on GitHub ↗
(funcs: tuple[str, ...])
Source
from the content-addressed store, hash-verified
82
return
results
83
84
def
build_func_rx(funcs: tuple[str, ...]) -> Pattern[str]:
85
return
re.compile(r
"(?<!\w)(?:"
+
"|"
.join(map(re.escape, funcs)) + r
")(?!\w)"
)
86
87
def
scan_file(
88
path: Path,
Callers
1
main
Function · 0.85
Calls
2
join
Method · 0.80
compile
Method · 0.45
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…