Thanks for your bug report. Version 5.6 does not core dump on: perl -e '$i = "i" x 30000; $i =~ /(?:[^@]|@@)*/gc;' I've marked the bug as closed. Cheers; Nat