Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: bracket expressions and POSIX
- X-seq: zsh-workers 15207
- From: Clint Adams <clint@xxxxxxx>
- To: Andrej Borsenkow <Andrej.Borsenkow@xxxxxxxxxxxxxx>
- Subject: Re: bracket expressions and POSIX
- Date: Mon, 2 Jul 2001 09:31:22 -0400
- Cc: Peter Stephenson <pws@xxxxxxxxxxxxxxxxxxxxxxxx>, Zsh hackers list <zsh-workers@xxxxxxxxxxxxxx>
- In-reply-to: <000301c102be$19047990$21c9ca95@xxxxxxxxxxxxxx>; from Andrej.Borsenkow@xxxxxxxxxxxxxx on Mon, Jul 02, 2001 at 10:13:22AM +0400
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <20010630190039.59EB714286@xxxxxxxxxxxxxxxxxxxxxxxx> <000301c102be$19047990$21c9ca95@xxxxxxxxxxxxxx>
> Actually, SUS explicitly speaks about both quoting (when parsed by shell)
> and escaping (when pattern is interpreted).
>
> <http://www.opengroup.org/onlinepubs/007908799/xcu/chap2.html#tag_001_013>
This is similar to POSIX, as is the reference on Bracket Expressions.
http://www.opengroup.org/onlinepubs/007908799/xbd/re.html#tag_007_003_005
> Note, that patterns in shell are *based* on regular expressions but not
> identical (that probably has confused you).
What confuses me is where it says that the backslash loses its special
meaning within a bracket expression. I see that backslash-escapes
take precedence over bracket expressions in BRE's, but, as you noted,
pattern matching is not BRE's.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author