[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Apropos commands and regexps
From: |
Kim F. Storm |
Subject: |
Re: Apropos commands and regexps |
Date: |
17 May 2002 23:56:33 +0200 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 |
Miles Bader <address@hidden> writes:
> `or' is clearly wrong; even in emacs' `limited' universe, it generates
> way too many hits.
>
> E.g., (apropos "\\(find.*file\\|file.*find\\)") gets about 50 hits,
> whereas (apropos "\\(find\\|file\\)") gets over 700!
Actually your first example finds 67 matches on my emacs.
Your second example is an unfair comparison, as my proposal was that
at least two matching words should be required. This can be illustrated
by (apropos "\\(find\\|file\\).*\\(find\\|file\\)") which finds 74 hits.
So I don't see the big difference... The reason there are a few more
matches with the second pattern is that it also finds entries with
either word occurring twice.
But I never claimed my sample implementation is perfect :-)
--
Kim F. Storm <address@hidden> http://www.cua.dk
- Re: Apropos commands and regexps, (continued)
- Re: Apropos commands and regexps, Richard Stallman, 2002/05/18
- Re: Apropos commands and regexps, Stefan Monnier, 2002/05/18
- Re: Apropos commands and regexps, Kai Großjohann, 2002/05/19
- Re: Apropos commands and regexps, Eli Zaretskii, 2002/05/19
- Re: Apropos commands and regexps, Kai Großjohann, 2002/05/19
- Re: Apropos commands and regexps, Richard Stallman, 2002/05/19
- Re: Apropos commands and regexps, Kim F. Storm, 2002/05/19
- Re: Apropos commands and regexps, Alex Schroeder, 2002/05/20
- Re: Apropos commands and regexps, Miles Bader, 2002/05/16
- Re: Apropos commands and regexps, Kai Großjohann, 2002/05/17
- Re: Apropos commands and regexps,
Kim F. Storm <=
- Re: Apropos commands and regexps, Eli Zaretskii, 2002/05/18
- Re: Apropos commands and regexps, Stefan Monnier, 2002/05/18
- Re: Apropos commands and regexps, Eli Zaretskii, 2002/05/17
- Re: Apropos commands and regexps, Kai Großjohann, 2002/05/17
- Re: Apropos commands and regexps, Eli Zaretskii, 2002/05/16
- Re: Apropos commands and regexps, Kim F. Storm, 2002/05/16
- Re: Apropos commands and regexps, Miles Bader, 2002/05/16
- Re: Apropos commands and regexps, Eli Zaretskii, 2002/05/17
- Re: Apropos commands and regexps, Richard Stallman, 2002/05/18
- Re: Apropos commands and regexps, Eli Zaretskii, 2002/05/19