blob: 5d0b2a2e10fa66e16dd954f97ba7561b106fce50 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#include "test-tool.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;
}
|