diff options
| author | agriffis <agriffis@gentoo.org> | 2005-07-12 21:00:27 +0000 |
|---|---|---|
| committer | agriffis <agriffis@gentoo.org> | 2005-07-12 21:00:27 +0000 |
| commit | 8663f9fa971ef0d78b8f908654730580a1e3b8c4 (patch) | |
| tree | 3cd2ce37d83f5735007465f374a5fe0cafd820ce | |
| parent | a367092ebf696a1175bcfe6f2cce113ec6aab749 (diff) | |
| download | gentoolkit-8663f9fa971ef0d78b8f908654730580a1e3b8c4.tar.gz | |
Wrap variable interpolation in \Q and \E in regex #92966
svn path=/; revision=225
| -rw-r--r-- | trunk/src/echangelog/echangelog | 2 |
1 files changed, 1 insertions, 1 deletions
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) |
