MCPcopy Create free account
hub / github.com/git/git / is_fixed

Function is_fixed

grep.c:235–245  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

233}
234
235static int is_fixed(const char *s, size_t len)
236{
237 size_t i;
238
239 for (i = 0; i < len; i++) {
240 if (is_regex_special(s[i]))
241 return 0;
242 }
243
244 return 1;
245}
246
247#ifdef USE_LIBPCRE2
248#define GREP_PCRE2_DEBUG_MALLOC 0

Callers 1

compile_regexpFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected