[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Help with watch file



Bill Blough writes ("Re: Help with watch file"):
> You want the downloadurlmangle option.

This

> opts=downloadurlmangle=s/github\.com\/arrayfire\/arrayfire\/archive\/v?(\d[\d\.]*)\.tar\.gz/arrayfire.com\/arrayfire_source\/arrayfire-full-$1\.tar\.bz2/ \
> http://github.com/arrayfire/arrayfire/releases (?:.*/)?v?(\d[\d\.]*)\.tar\.gz

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.

See "Quote and Quote-like Operators" in perlop(1).
I hope this information slightly improves your life :-).

Regards,
Ian.

-- 
Ian Jackson <ijackson@chiark.greenend.org.uk>   These opinions are my own.

If I emailed you from an address @fyvzl.net or @evade.org.uk, that is
a private address which bypasses my fierce spamfilter.


Reply to: