Sign in
googlers
/
jrn
/
git
/
28dc26dc337932d9e4df8f83f1e454ea6bbc0897
/
.
/
compat
/
regcomp_enhanced.c
blob: 84193ce53b64f5ff98bbcc3c4869c53a7796a17e [
file
] [
log
] [
blame
]
#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
);
}