https://github.com/git/git
Raw File
Tip revision: 47b6d90e91835082010da926f6a844d4441c57a6 authored by Johannes Schindelin on 10 April 2024, 18:37:40 UTC
Git 2.39.4
Tip revision: 47b6d90
regcomp_enhanced.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);
}
back to top