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: Philip Kaludercic
Subject: Re: Globbing file name match function?
Date: Sun, 05 Jun 2022 20:34:00 +0000

Lars Ingebrigtsen <larsi@gnus.org> writes:

> 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.

Should an alias be added with "glob" in the name, something like
"glob-expand" or just "glob", like the libc function?



reply via email to

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