]>
git.ipfire.org Git - thirdparty/git.git/blob - compat/regcomp_enhanced.c
1 #include "../git-compat-util.h"
4 int git_regcomp(regex_t
*preg
, const char *pattern
, int cflags
)
6 if (!(cflags
& REG_EXTENDED
))
7 cflags
|= REG_ENHANCED
;
8 return regcomp(preg
, pattern
, cflags
);