emacs-devel
[Top][All Lists]
Advanced

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

Re: url library and GnuTLS, and Emacs-issued certificates


From: Ted Zlatanov
Subject: Re: url library and GnuTLS, and Emacs-issued certificates
Date: Sat, 26 Mar 2011 09:09:46 -0500
User-agent: Gnus/5.110016 (No Gnus v0.16) Emacs/24.0.50 (gnu/linux)

On Sat, 26 Mar 2011 14:39:51 +0100 Reiner Steib <address@hidden> wrote: 

RS> On Sat, Mar 26 2011, Ted Zlatanov wrote:
>> -  `(let* ((http (string-match "\\`http:" ,location))
>> +  `(let* ((http (string-match "\\`\\(https\\|http\\):" ,location))

RS> -  `(let* ((http (string-match "\\`http:" ,location))
RS> +  `(let* ((http (string-match "\\`https?:" ,location))

(I *knew* I'd have to explain it :)

It's rarely used so I wasn't worried about optimizing it.  Showing both
versions in an alternation makes it easier to see both schemes are
supported at a glance.

Ted




reply via email to

[Prev in Thread] Current Thread [Next in Thread]