https proxy regex
^https?://([^:]*(:[^@]*)?@)?([^:]+)(:\d+)?/?$|^$
$> sudo {http,https,ftp}_proxy=http://USERNAME:PW@PROXY-HOST:PROXY-PORT/ apt-get update
$> export http_proxy=http://USERNAME:P\@W@PROXY-HOST:PROXY-PORT/
$> export https_proxy=https//USERNAME:P\@W@PROXY-HOST:PROXY-PORT/
$> export ftp_proxy=http//USERNAME:P\@W@PROXY-HOST:PROXY-PORT/
$> export rsync_proxy=$http_proxy
$> export rsync_proxy=$http_proxy
$> export no_proxy="localhost,127.0.0.1,localaddress,.localdomain.com,3.*,192.168.*"
$> Acquire::http::proxy "http://USERNAME:P\@W@PROXY-HOST:PROXY-PORT/";
$> Acquire::https::proxy "https://USERNAME:P\@W@PROXY-HOST:PROXY-PORT/";
$> Acquire::ftp::proxy "ftp://USERNAME:P\@W@PROXY-HOST:PROXY-PORT/";