emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Globbing file name match function?


From: Lars Ingebrigtsen
Subject: Re: Globbing file name match function?
Date: Sun, 05 Jun 2022 13:59:07 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Eli Zaretskii <eliz@gnu.org> writes:

> But what glob does is recursively find each wildcard, expand it, then
> go deeper and repeat.  So it should be possible to do the same based
> on directory-files, I think?

Yes, and I wondered if we had that already.

Andreas Schwab <schwab@linux-m68k.org> writes:

> There is file-expand-wildcards.

Ah, thanks, just what I was looking for.  (Not under the name I was
looking for, though.)  Hm...  it takes globs, but it looks trivial to
expand to regexps.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no



reply via email to

[Prev in Thread] Current Thread [Next in Thread]