MCPcopy Create free account
hub / github.com/coreboot/coreboot / re_search

Function re_search

util/kconfig/regex.c:2845–2854  ·  view source on GitHub ↗
(bufp, string, size, startpos, range, regs)

Source from the content-addressed store, hash-verified

2843 doesn't let you say where to stop matching. */
2844
2845int
2846re_search (bufp, string, size, startpos, range, regs)
2847 struct re_pattern_buffer *bufp;
2848 const char *string;
2849 int size, startpos, range;
2850 struct re_registers *regs;
2851{
2852 return re_search_2 (bufp, NULL, 0, string, size, startpos, range,
2853 regs, size);
2854}
2855
2856
2857/* Using the compiled pattern in BUFP->buffer, first tries to match the

Callers 2

re_execFunction · 0.85
regexecFunction · 0.85

Calls 1

re_search_2Function · 0.85

Tested by

no test coverage detected