Open
Description
This is a feature request to lift the default length limit of 64k bytes.
PCRE library is used in many complex applications like to parse language grammars and the requirements naturally grow every year.
We are at year 2024 and the PCRE library itself should not impose too much unneeded limitation. Especially compile time limitation.
I propose to lift the compile time limit by raising the LINK_SIZE
option to 4
by default. At least of 64-bit platforms.
The matching time/performance should not increase much.
If there should be a limit, it should be runtime configureable like other limits using pcre2_set_*_limit()
function with default like 10M (UPDATE: implemented in 05aafb2).
related past issues: #119 #271 JuliaText/TextAnalysis.jl#258