# proof it behaves right, uncomment to see # $_ = " '==\\'==' '==5==' '\\'\\'' '\\'3' '\\'' '1' '' " x 2; $n = 40000000; $_ = "'" . "=" x $n . "'"; my @pos; while ( /(?