Regexp's are behaving wierd ("Out of memory" and segmentation faults)
Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=232
Reported by Mirar , Idonex Heavy Industries mirar@roxen.com
"Out of memory":
object re=Regexp("^((.*)[ ]|)");
string s=re->split("abcdef");
segmentation fault:
object re=Regexp("^((.*)[ ]|)(.*)[ ]");
string s=re->split("abcdef");