This varies depending on platform: perl's configuration script tries to determine the right limit, but doesn't always get it right, and when the limit is too high you'll get the coredump when the real limit is hit.
It is currently the intention to remove this limitation altogether for perl-5.10.0, by rewiring the regular expression engine to use a new internal stack (which can be grown as needed) rather than the system stack, but it isn't clear yet whether we can do that without slowing down the engine.
HugoIn reply to Re: Re: regexp causes segfault
by hv
in thread regexp causes segfault
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |