Re: [PATCH B::Deparse] fix string uninterpretation
Robin Houston [Thu, 26 Apr 2001 20:52:50 +0000 (21:52 +0100)]
Message-ID: <20010426205249.A28328@puffinry.freeserve.co.uk>

p4raw-id: //depot/perl@9862

ext/B/B/Deparse.pm

index f8f9014..7e14c8e 100644 (file)
@@ -2761,8 +2761,7 @@ sub uninterp {
 # the same, but treat $|, $), $( and $ at the end of the string differently
 sub re_uninterp {
     my($str) = @_;
-    $str =~ s/(^|\G|[^\\])((?:\\\\)*)([\$\@](?!\||\)|\$\(|$)|\\[uUlLQE])/$1$2\\$3/g
-;
+    $str =~ s/(^|\G|[^\\])((?:\\\\)*)([\$\@](?!\||\)|\$\(|$)|\\[uUlLQE])/$1$2\\$3/g;
     return $str;
 }