On 02/09/14 21:45, Poul-Henning Kamp wrote: > What we really need is for pcre to tell us an estimate of how much > stack-space is needed during compilation Is this possible? My understanding is that the recursion depth depends on the data and thus all we can do is set a recursion limit for the stack size we have available. Nils