How to implement glob in C#

后端 未结 4 695
逝去的感伤
逝去的感伤 2020-11-28 10:18

I don\'t know if it\'s legit at StackOverflow to post your own answer to a question, but I saw nobody had asked this already. I went looking for a C# Glob and didn\'t find

4条回答
  •  日久生厌
    2020-11-28 10:29

    I stumbled upon the source to iron ruby that contains a pretty neat Glob class. It's fairly easy extract it from the related code.

    https://github.com/IronLanguages/main/blob/master/Languages/Ruby/Ruby/Builtins/Glob.cs

提交回复
热议问题