MCPcopy Index your code
hub / github.com/numpy/numpy / find_and_remove_repl_patterns

Function find_and_remove_repl_patterns

numpy/f2py/_src_pyf.py:97–100  ·  view source on GitHub ↗
(astr)

Source from the content-addressed store, hash-verified

95 return names
96
97def find_and_remove_repl_patterns(astr):
98 names = find_repl_patterns(astr)
99 astr = re.subn(named_re, '', astr)[0]
100 return astr, names
101
102
103item_re = re.compile(r"\A\\(?P<index>\d+)\Z")

Callers 1

process_strFunction · 0.85

Calls 1

find_repl_patternsFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…