in reply to Re: Edge case in Text::Glob
in thread Edge case in Text::Glob
well sure, but you know the song "don't reinvent the wheel" and I doubt I'm the first one using it.
I also had to realize that there are many "glob" dialects around, so I first had to analyze what Perl's file glob is doing.
To my surprise (and horror) I noticed that <KSR*> will match case insensitive on Win (eg Ksr_1 ) while being case sensitive on Linux. That's a portability issue IMHO.
And globbing in the file explorer won't have any idea of character classes.
Hence I don't even have a clear picture what the requirements should be for a reimplementation, or if Text::Glob is even patchable.
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Edge case in Text::Glob
by Fletch (Bishop) on Mar 01, 2022 at 17:45 UTC | |
by LanX (Saint) on Mar 02, 2022 at 15:42 UTC | |
by Fletch (Bishop) on Mar 02, 2022 at 16:29 UTC | |
by LanX (Saint) on Mar 02, 2022 at 18:06 UTC |