projects
/
p5sagit/p5-mst-13.2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
threads::shared 1.24 (phase 2)
[p5sagit/p5-mst-13.2.git]
/
lib
/
diagnostics.pm
diff --git
a/lib/diagnostics.pm
b/lib/diagnostics.pm
index
68253fc
..
7af5efa
100755
(executable)
--- a/
lib/diagnostics.pm
+++ b/
lib/diagnostics.pm
@@
-394,7
+394,7
@@
my %msg;
$toks[$i] = '[\da-f]+';
}
} elsif( length( $toks[$i] ) ){
- $toks[$i] =~ s/^.*$/\Q$&\E/;
+ $toks[$i] = quotemeta $toks[$i];
$conlen += length( $toks[$i] );
}
}