Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
50
boolean
51
regex_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
59
void
60
regex_free(struct nhregex *re)
Callers
nothing calls this directly
Calls
1
pmatchi
Function · 0.85
Tested by
no test coverage detected