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

Function regex_init

sys/share/pmatchregex.c:22–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20};
21
22struct nhregex *
23regex_init(void)
24{
25 struct nhregex *re;
26
27 re = (struct nhregex *) alloc(sizeof (struct nhregex));
28 re->pat = (const char *) 0;
29 return re;
30}
31
32boolean
33regex_compile(const char *s, struct nhregex *re)

Callers

nothing calls this directly

Calls 1

allocFunction · 0.50

Tested by

no test coverage detected