MCPcopy Create free account
hub / github.com/numpy/numpy / find_and_remove_repl_patterns

Function find_and_remove_repl_patterns

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

Source from the content-addressed store, hash-verified

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

Callers 1

process_strFunction · 0.70

Calls 1

find_repl_patternsFunction · 0.70

Tested by

no test coverage detected