Re: Help with watch file
On Thu, Dec 22, 2016 at 05:42:43PM -0500, Bill Blough wrote:
> On Thu, Dec 22, 2016 at 12:40:26PM +0000, Ian Jackson wrote:
> > suffers rather from leaning toothpick syndrome. Does the
> > `downloadurlmangle' support Perl's ability to handle nonstandard
> > delimiters ? Using something other than / means that / does not need
> > to be \-escaped. { } are often a good choice.
>
> A quick look through the uscan source suggests that it does not.
> However, Paul's solution is way cleaner than mine, so it's probably
> moot, at least in this case.
It should be supported. The safe_replace[0] function makes no
assumptions about what the separator is.
[0]: https://anonscm.debian.org/cgit/collab-maint/devscripts.git/tree/scripts/uscan.pl?id=bce34b8d7fa410e64c411bd780f8e21603167ae7#n4441
Cheers,
--
James
GPG Key: 4096R/91BF BF4D 6956 BD5D F7B7 2D23 DFE6 91AE 331B A3DB
Reply to: