[devscripts] 01/01: uscan: Fix message
Osamu Aoki
osamu at moszumanska.debian.org
Sat Feb 13 16:24:28 UTC 2016
This is an automated email from the git hooks/post-receive script.
osamu pushed a commit to branch master
in repository devscripts.
commit ac9009c3dde52598a8d8733ac751458644d00db4
Author: Osamu Aoki <osamu at debian.org>
Date: Sun Feb 14 01:11:28 2016 +0900
uscan: Fix message
Need to escape [ and ]
---
scripts/uscan.pl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/uscan.pl b/scripts/uscan.pl
index 858f53b..45098d7 100755
--- a/scripts/uscan.pl
+++ b/scripts/uscan.pl
@@ -4409,7 +4409,7 @@ sub safe_replace($$) {
} elsif ($pat !~ /^(?:s|tr|y)$esc((?:\\.|[^\\$esc])*)$esc((?:\\.|[^\\$esc])*)$esc([a-z]*)$/) {
$sep = "/" if $sep eq '';
uscan_warn "stop mangling: rule=\"$pat\"\n" .
- " rule doesn't match \"(s|tr|y)$sep.*$sep.*$sep[a-z]*\" (or similar).\n";
+ " rule doesn't match \"(s|tr|y)$sep.*$sep.*$sep\[a-z\]*\" (or similar).\n";
return 0;
} else {
($regexp, $replacement, $flags) = ($1, $2, $3);
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/devscripts.git
More information about the devscripts-devel
mailing list