IndexOutOfRangeException
See original GitHub issueThe following lines generate an IndexOutOfRangeException:
var glob = Glob.Parse("C:\\Bin\\*.pdb");
glob.Match("C:\\Bin\\.vs");
Issue Analytics
- State:
- Created 6 years ago
- Comments:7 (5 by maintainers)
Top Results From Across the Web
IndexOutOfRangeException Class (System)
An IndexOutOfRangeException exception is thrown when an invalid index is used to access a member of an array or a collection, or to...
Read more >c# - What is an IndexOutOfRangeException ...
This exception means that you're trying to access a collection item by index, using an invalid index. An index is invalid when it's...
Read more >IndexOutOfRangeException in C#
It occurs when an invalid index is used to access a member of a collection. The following example throws the IndexOutOfRange exception: Example:....
Read more >What is IndexOutOfRangeException in C#? - Code Maze
IndexOutOfRangeException gets thrown when we try to access a member of an array or a collection using an invalid index.
Read more >C# IndexOutOfRangeException
This C# exception will typically occur when a statement tries to access an element at an index greater than the maximum allowable index....
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
Ah yes I see the confusion now apologies.
Match
was removed as per #28 -IsMatch
should be used in the majority of cases. My tests were done using IsMatch hence why I couldnt replicate! Match was indeed buggy as you discovered 😃Well, it will be hard to reproduce now since the method appears to have been removed in a77ae3bb50791a4a4a3fd8745e35f37fd4222bda 😉 (Although the comment for the commit says
IsMatch
was removed, it appearsMatch
is the method that actually was removed, and probably the intention as well)