[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Globbing file name match function?
From: |
Lars Ingebrigtsen |
Subject: |
Globbing file name match function? |
Date: |
Sun, 05 Jun 2022 13:11:04 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
I've been poking around for a couple of minutes to see whether we have a
function to list files matching a regexp a la how a shell matches them.
That is:
$ ls ~/src/emacs/*/lisp/abbrev.el
/home/larsi/src/emacs/27.1/lisp/abbrev.el
/home/larsi/src/emacs/bisect/lisp/abbrev.el
/home/larsi/src/emacs/emacs-28/lisp/abbrev.el
/home/larsi/src/emacs/foo/lisp/abbrev.el
...
This is with a glob, but ideally you'd be able to drop in a regexp
anywhere in the file name. Do we have that anywhere in Emacs?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
- Globbing file name match function?,
Lars Ingebrigtsen <=
- Re: Globbing file name match function?, Eli Zaretskii, 2022/06/05
- Re: Globbing file name match function?, Lars Ingebrigtsen, 2022/06/05
- Re: Globbing file name match function?, Eli Zaretskii, 2022/06/05
- Re: Globbing file name match function?, Lars Ingebrigtsen, 2022/06/05
- Re: Globbing file name match function?, Stefan Monnier, 2022/06/05
- Re: Globbing file name match function?, Philip Kaludercic, 2022/06/05
- Re: Globbing file name match function?, Lars Ingebrigtsen, 2022/06/05
- Re: Globbing file name match function?, Andreas Schwab, 2022/06/06
Re: Globbing file name match function?, Andreas Schwab, 2022/06/05