projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
38242c0
)
Re: [PATCH B::Deparse] fix string uninterpretation
author
Robin Houston
<robin@cpan.org>
Thu, 26 Apr 2001 20:52:50 +0000
(21:52 +0100)
committer
Jarkko 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
patch
|
blob
|
history
diff --git
a/ext/B/B/Deparse.pm
b/ext/B/B/Deparse.pm
index f8f90144b090b173301ef6a0feed5ac1a5ed75d9..7e14c8e5cc6ec6a7fdce51f90d688a5ec191f242 100644
(file)
--- a/
ext/B/B/Deparse.pm
+++ b/
ext/B/B/Deparse.pm
@@
-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;
}