Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: input foo, output '[F|f][O|o][O|o]'?
- X-seq: zsh-users 17847
- From: "TJ Luoma" <luomat@xxxxxxxxx>
- To: "Zsh-Users List" <zsh-users@xxxxxxx>
- Subject: Re: input foo, output '[F|f][O|o][O|o]'?
- Date: Mon, 01 Jul 2013 21:11:13 -0400
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=from:to:subject:date:message-id :in-reply-to:references:mime-version:content-type :content-transfer-encoding; s=smtpout; bh=2pWepHWxAEf3IP+eWtRHKn GswK4=; b=qN7ENBV+QEAyr+gUeEA1d9HjiUDzK4Lr6V7Z3Nudl7e1KPneJySl8I ez6hlatUbZwyRv7MoCtNxnRIPjhpNARjFVXHHm+ynSnHQriN22fSvbZRZ5HVQRPp hp4tEvLebyJ3jmb8BsRlKQMlX2k2OP7f7Mr5XGSMiVlRVdVtpFzog=
- In-reply-to: <CABx2=D_1c87LyrMMiqf-J3xEZW=1KQGBwbqPxhbzRpMy9e3Zzw@mail.gmail.com>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <E2BB9B64-ECE8-4B69-BEEB-05B010699AB4@gmail.com> <8B5FCBBB-DF52-43E1-8924-AAE08263D76F@goldweb.com.au> <CABx2=D_1c87LyrMMiqf-J3xEZW=1KQGBwbqPxhbzRpMy9e3Zzw@mail.gmail.com>
On 1 Jul 2013, at 20:38, Kurtis Rader wrote:
In short, for any reasonable regex implementation there is no need to
resort to something as clumsy as what you propose.
You would certainly be correct in the vast majority of cases. However, I
happen to be dealing with one of the small percentages of exceptions, as
the AddDescription implementation in Apache does not have a 'reasonable
regex' implementation for this, as far as I have been able to tell.
Keep in mind to that for anything other than ASCII this is impossible,
for all practical purposes, to implement correctly using the strategy
you had in mind.
Yup. But these are filenames on a web server and will only be ASCII.
Thanks again
TjL
Messages sorted by:
Reverse Date,
Date,
Thread,
Author