A GLOB implementation in c#

I was searching for a validated GLOB implementation. My first try was in IronRuby and in PowerShell, but glob extraction seams complexe. I’ve finally found a simple to integrate and simple to test implementation: Glob.cs/Glob.cs at master · mganss/Glob.cs.

We also have Wyam’s implementation based on more simpler reliak/Reliak.FileSystemGlobbingExtensions. Both shared extended syntax:

  • brace *.{jpg,png},
  • and exclusions starting with !

And also Microsoft.Extensions.FileSystemGlobbing (poorly documented but usefull !).

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s