Re: pathname with tilde and wildcard characters

Douglas Katzman via Sbcl-help <[email protected]>
Newsgroups gmane.lisp.steel-bank.general
Message-ID <CAOrNasxNENP1YpiDKf92qUT4QRkhefquvXVMsjvxndEVeow3gQ@mail.gmail.com>
On Wed, Jun 5, 2024 at 6:13 PM Marco Antoniotti <[email protected]>
wrote:

> Hi
>
> it looks like you are trying "shell wildcards" in pathnames.  They do not
> work in Common Lisp.  You can only have '*' and '**' in "wild pathnames" in
> Common Lisp.
>
> What? This is the sbcl-help mailing list, not the generic Common Lisp
mailing-list.

* (pathname-name (pathname  "foo?.txt"))
#<SB-IMPL::PATTERN "foo" :SINGLE-CHAR-WILD>
* (pathname-name (pathname  "foo[a-z].txt"))
#<SB-IMPL::PATTERN "foo" (:CHARACTER-SET . "a-z")>

_______________________________________________
Sbcl-help mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sbcl-help
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.