mirror of
https://github.com/git/git
synced 2024-08-24 18:26:02 +00:00
10 lines
213 B
C
10 lines
213 B
C
![]() |
#include "../git-compat-util.h"
|
||
|
#undef regcomp
|
||
|
|
||
|
int git_regcomp(regex_t *preg, const char *pattern, int cflags)
|
||
|
{
|
||
|
if (!(cflags & REG_EXTENDED))
|
||
|
cflags |= REG_ENHANCED;
|
||
|
return regcomp(preg, pattern, cflags);
|
||
|
}
|