diff options
Diffstat (limited to 'src/config.h.generic')
-rw-r--r-- | src/config.h.generic | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/config.h.generic b/src/config.h.generic index 97e63f7..dfce8a7 100644 --- a/src/config.h.generic +++ b/src/config.h.generic @@ -134,16 +134,16 @@ sure both macros are undefined; an emulation function will then be used. */ /* This limits the amount of memory that may be used while matching a pattern. It applies to both pcre2_match() and pcre2_dfa_match(). It does not apply - to JIT matching. The value is in kilobytes. */ + to JIT matching. The value is in kibibytes (units of 1024 bytes). */ #ifndef HEAP_LIMIT #define HEAP_LIMIT 20000000 #endif /* The value of LINK_SIZE determines the number of bytes used to store links as offsets within the compiled regex. The default is 2, which allows for - compiled patterns up to 64K long. This covers the vast majority of cases. - However, PCRE2 can also be compiled to use 3 or 4 bytes instead. This - allows for longer patterns in extreme cases. */ + compiled patterns up to 65535 code units long. This covers the vast + majority of cases. However, PCRE2 can also be compiled to use 3 or 4 bytes + instead. This allows for longer patterns in extreme cases. */ #ifndef LINK_SIZE #define LINK_SIZE 2 #endif |