| 233 | } |
| 234 | |
| 235 | static 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 |