projects
/
gentoolkit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a367092
)
Wrap variable interpolation in \Q and \E in regex #92966
author
agriffis
<agriffis@gentoo.org>
Tue, 12 Jul 2005 21:00:27 +0000
(21:00 -0000)
committer
agriffis
<agriffis@gentoo.org>
Tue, 12 Jul 2005 21:00:27 +0000
(21:00 -0000)
svn path=/; revision=225
trunk/src/echangelog/echangelog
patch
|
blob
|
history
diff --git
a/trunk/src/echangelog/echangelog
b/trunk/src/echangelog/echangelog
index a06115c3ce18e1299fea3ae5e85d1421599de69a..03b5f2506e82e9e0c5ff86a9c79d687335c9a73c 100644
(file)
--- a/
trunk/src/echangelog/echangelog
+++ b/
trunk/src/echangelog/echangelog
@@
-219,7
+219,7
@@
close C;
# When a package move occurs, the versions appear to be new even though they are
# not. Trim them from @new_versions in that case.
-@new_versions = grep { $text !~ /^\*
$_
\s/m } @new_versions;
+@new_versions = grep { $text !~ /^\*
\Q$_\E
\s/m } @new_versions;
# Check if we have any files left, otherwise re-insert ebuild list
# (of course, both might be empty anyway)