Lots of bugs
See original GitHub issueSummary (I did not check on Linux, but hopefully, matching there is case-sensitive):
IsPathSeparator(...)
is correct for Windows, but wrong for Linux, as back-slashes are not considered separators. There is even a possibility that the forward-slash is escaped (preceded with the odd number of back-slashes: 1, 3, 5…), hence not considered as a separator- Current directory and relative paths are not considered
- Path separator assumed to be outside any kind of brackets
- Braces not implemented (this is significant)
Details (YES = all good):
Current Directory: C:\Users\AlexIurovetski\Projects\Dabble\Dabble\bin\Debug\net6.0
Glob: c:\a\b\..\b\*.cs
Path: c:\a\b\c.cs
Match: -- NO --
Glob: **/*.cs
Path: c:\a\b\c.cs
Match: YES
Glob: **\*.cs
Path: c:\a\b\c.cs
Match: YES
Glob: **.cs
Path: c:\a\b\c.cs
Match: -- NO --
Glob: \**\*.cs
Path: c:\a\b\c.cs
Match: -- NO --
Glob: *.{cs,txt}
Path: c:\a\b\c.cs
Match: -- NO --
Glob: **/{*.md,src/*.cs}
Path: c:\a\b\c.cs
Match: -- NO --
Glob: **[/\]*.cs
Path: c:\a\b\c.cs
Match: -- NO --
Issue Analytics
- State:
- Created a year ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
How to Get Rid of Bugs Indoors
Bugs commonly found inside homes include ants, cockroaches, earwigs, firebrats, flies, house centipedes, silverfish, and spiders. Pet owners sometimes have to ...
Read more >16 Disgusting House Bugs and How to Get Rid of Them
You may be surprised by which of these house bugs are helpful and which are dangerous. Either way, we'll show you how to...
Read more >Why are there suddenly so many bugs in my house?
Ants, houseflies, and some beetles are common examples of bugs that might show up if your pad has great dining options. Of course,...
Read more >15 Common House Bugs to Know - What Insects Live in ...
Wolf Spider Asian Camel Cricket Field Cricket Odorous House Ants Carpenter Ant Western Conifer Seed Bug Cluster Fly Silverfish Bed Bugs Cockroach Fruit...
Read more >10 Tiny Bugs in Your House—And How to Get Rid of Them
Weevils Carpet Beetles Centipedes Fruit Flies Cockroaches Drain Flies Silverfish Dust Mites
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks it’s definitely value feedback. I will consider things I can do to enable this scenario better in future. I’ll open a more targeted issue for now about the Linux filename slash issue.
Mainly, I wanted to draw attention to the issues which arise when using glob patterns for filtering files. This is primary use case. Something like a command-line application which expects files to process:
customapp ..\otherdir\*.txt
or./customapp "/rootdir/lib*/**.{a,obj}"
and so on. You can close the ticket.