From: Sven Wischnowsky <wischnow@informatik.hu-berlin.de>
To: zsh-workers@sunsite.auc.dk
Subject: Re: PATCH: Re: Seg fault in matcher-list matching
Date: Tue, 16 May 2000 12:48:54 +0200 (MET DST) [thread overview]
Message-ID: <200005161048.MAA26740@beta.informatik.hu-berlin.de> (raw)
In-Reply-To: Tanaka Akira's message of 16 May 2000 07:57:58 +0900
Tanaka Akira wrote:
> In article <200005150926.LAA17371@beta.informatik.hu-berlin.de>,
> Sven Wischnowsky <wischnow@informatik.hu-berlin.de> writes:
>
> > I couldn't get it to seg-fault, but there was something broken. Matching
> > of the suffix, for example, and that both in C and shell code.
>
> I found another problem about matching control.
>
> Z(4):akr@serein% Src/zsh -f
> serein% bindkey -e; autoload -U compinit; compinit -D; compdef _tst tst
> serein% _tst () { compadd -M 'r:|[:.]=* r:|=*' a.b:0 c.d:1 }
> serein% tst :<TAB>
>
> This inserts nothing now.
>
> But 3.1.7-pre-2 inserts `.' as follows (and place the cursor on the
> `.').
>
> % tst .:
The new behaviour is the correct one: with `*', the `*' must not match
anchors and that's what it does now (it would have to match the `.',
of course). With `**' you get the old behaviour, which is correct, too.
;-)
Bye
Sven
--
Sven Wischnowsky wischnow@informatik.hu-berlin.de
next reply other threads:[~2000-05-16 10:49 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-05-16 10:48 Sven Wischnowsky [this message]
2000-05-16 16:03 ` Tanaka Akira
-- strict thread matches above, loose matches on Subject: below --
2000-05-15 11:52 Sven Wischnowsky
2000-05-15 10:43 Sven Wischnowsky
2000-05-15 9:26 Sven Wischnowsky
2000-05-15 11:44 ` Bart Schaefer
2000-05-15 22:57 ` Tanaka Akira
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200005161048.MAA26740@beta.informatik.hu-berlin.de \
--to=wischnow@informatik.hu-berlin.de \
--cc=zsh-workers@sunsite.auc.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).