Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/git/blob/master/compat/regcomp_enhanced.c # git [Ported from github.com/git/git] Sync with Git 2.56.1 Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `master` Branches Tags History `git / compat / regcomp_enhanced.c` 14 lines ยท 388 bytes Raw Blame History 1 #include "../git-compat-util.h" 2 #undef regcomp 3 4 int git_regcomp(regex_t *preg, const char *pattern, int cflags) 5 { 6 /* 7 * If you are on macOS with clang and fail to compile this line, 8 * https://lore.kernel.org/git/`458ad3c1`-96df-4575-ee42-`e6eb754f25f6`@gmx.de/ 9 * might be relevant. 10 */ 11 if (!(cflags & REG_EXTENDED)) 12 cflags |= REG_ENHANCED; 13 return regcomp(preg, pattern, cflags); 14 }