The following commit has been merged in the master branch: commit 2f7a9fec310594651f7e3c1f134d4dfab44224c7 Author: James Vega <james...@debian.org> Date: Thu Sep 29 22:05:17 2011 -0400
debchange: Document that only `$1' backreference replacements are supported. Closes: #639813 Signed-off-by: James Vega <james...@debian.org> diff --git a/debian/changelog b/debian/changelog index 88dc251..4fe8392 100644 --- a/debian/changelog +++ b/debian/changelog @@ -16,6 +16,8 @@ devscripts (2.11.2) UNRELEASED; urgency=low - Update uses of getopt to show usage when getopt fails. * licensecheck: Recognize more generated files. Thanks to Paweł Hajdan, Jr for the patch. (Closes: #641497) + * debchange: Document that only `$1' backreference replacements are + supported. Thanks to Matthijs Kooijman for the patch. (Closes: #639813) -- Gerfried Fuchs <rho...@debian.org> Fri, 26 Aug 2011 21:09:51 +0200 diff --git a/scripts/uscan.1 b/scripts/uscan.1 index 1e240b7..efb1a39 100644 --- a/scripts/uscan.1 +++ b/scripts/uscan.1 @@ -246,6 +246,11 @@ this should not be a problem. operation is used, only the '\fBg\fR', '\fBi\fR' and '\fBx\fR' flags are available and \fIrule\fR may not contain any expressions which have the potential to execute code (i.e. the (?{}) and (??{}) constructs are not supported). + +If the '\fBs\fR' operation is used, the replacement can contain +backreferences to expressions within parenthesis in the matching regexp, +like `\fBs/-alpha(\\d*)/.a$1/\fR'. These backreferences must use the +`\fB$1\fR' syntax, as the `\fB\\1\fR' syntax is not supported. .TP \fBdversionmangle=\fIrules\fR This is used to mangle the Debian version number of the currently -- Git repository for devscripts -- To unsubscribe, send mail to pkg-devscripts-unsubscr...@teams.debian.net.