There are no safeguards if Regexp.Regexp runs out of stack
Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=3534
Reported by Martin Stjernholm mast@roxen.com
The following causes Regexp.Regexp to consume an arbitrary amount of stack. The problem is that it's unchecked so that pike segfaults.
> Regexp rx = Regexp( "(\"([^\"\\\\]|\\\\.)*\")" );
> rx->split("\""+"x"*0xe800+"\"");
Segmentation fault (core dumped)