From 8663f9fa971ef0d78b8f908654730580a1e3b8c4 Mon Sep 17 00:00:00 2001 From: agriffis Date: Tue, 12 Jul 2005 21:00:27 +0000 Subject: [PATCH] Wrap variable interpolation in \Q and \E in regex #92966 svn path=/; revision=225 --- trunk/src/echangelog/echangelog | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trunk/src/echangelog/echangelog b/trunk/src/echangelog/echangelog index a06115c..03b5f25 100644 --- 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) -- 2.26.2