MCPcopy Create free account
hub / github.com/NetHack/NetHack / regex_match

Function regex_match

sys/share/pmatchregex.c:50–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48}
49
50boolean
51regex_match(const char *s, struct nhregex *re)
52{
53 if (!re || !re->pat || !s)
54 return FALSE;
55
56 return pmatchi(re->pat, s);
57}
58
59void
60regex_free(struct nhregex *re)

Callers

nothing calls this directly

Calls 1

pmatchiFunction · 0.85

Tested by

no test coverage detected