Michael G. Schwern [Mon, 29 Oct 2001 23:01:08 +0000 (18:01 -0500)]
Subject: Perlbug
19990906.001 - segfault on long escaped quote regex
Message-ID: <
20011029230108.G18053@blackrider>
p4raw-id: //depot/perl@12776
EXPECT
Can't modify constant item in read at - line 1, near "1)"
Execution of - aborted due to compilation errors.
+######## [ID 19990906.001]
+$line = ('a' x 99999) . ";'"; . ('a' x 20000);
+$line =~ m";(?:\s*\'(?:[^\\']|\\.)*\'\s*)";;
+print "ok\n";
+EXPECT
+ok