$_ = "SomecomplexREhereandthenafoobar"; if (/Some complex RE here and then a # to ignore/x) { print "Escaping that # would have mattered\n"; }