Re: [PATCH B::Deparse] fix string uninterpretation
authorRobin Houston <robin@cpan.org>
Thu, 26 Apr 2001 20:52:50 +0000 (21:52 +0100)
committerJarkko Hietaniemi <jhi@iki.fi>
Thu, 26 Apr 2001 19:04:23 +0000 (19:04 +0000)
Message-ID: <20010426205249.A28328@puffinry.freeserve.co.uk>

p4raw-id: //depot/perl@9862

ext/B/B/Deparse.pm

index f8f90144b090b173301ef6a0feed5ac1a5ed75d9..7e14c8e5cc6ec6a7fdce51f90d688a5ec191f242 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;
 }