diff options
author | pommicket <pommicket@gmail.com> | 2023-01-02 00:18:46 -0500 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2023-01-02 00:18:46 -0500 |
commit | 636ea84bc7fa738c179168664ea22118ecc89ab3 (patch) | |
tree | f0e811c08533d21fddaa2d4aaa7193257890e0d4 /find.c | |
parent | 43b8a9cb106d50265f5a6c1307e77d4642710f07 (diff) |
restructure ted.c, node.c
Diffstat (limited to 'find.c')
-rw-r--r-- | find.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -1,5 +1,9 @@ +#define PCRE2_STATIC +#define PCRE2_CODE_UNIT_WIDTH 32 +#include <pcre2.h> #define FIND_MAX_GROUPS 50 + static u32 find_compilation_flags(Ted *ted) { return (ted->find_case_sensitive ? 0 : PCRE2_CASELESS) | (ted->find_regex ? 0 : PCRE2_LITERAL); |