blob: 5258fdddba0eb36829c04216fbb71b1a196810d0 [file] [log] [blame]
#include "test-tool.h"
#include "cache.h"
#include "grep.h"
int cmd__pcre2_config(int argc, const char **argv)
{
if (argc == 2 && !strcmp(argv[1], "has-PCRE2_MATCH_INVALID_UTF")) {
int value = PCRE2_MATCH_INVALID_UTF;
return !value;
}
return 1;
}