Meziantou.Framework.Globbing
1.0.9
Prefix Reserved
.NET 5.0
This package targets .NET 5.0. The package is compatible with this framework or higher.
.NET Core 3.1
This package targets .NET Core 3.1. The package is compatible with this framework or higher.
.NET Framework 4.7.2
This package targets .NET Framework 4.7.2. The package is compatible with this framework or higher.
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package Meziantou.Framework.Globbing --version 1.0.9
NuGet\Install-Package Meziantou.Framework.Globbing -Version 1.0.9
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Meziantou.Framework.Globbing" Version="1.0.9" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Meziantou.Framework.Globbing --version 1.0.9
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Meziantou.Framework.Globbing, 1.0.9"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Meziantou.Framework.Globbing as a Cake Addin #addin nuget:?package=Meziantou.Framework.Globbing&version=1.0.9 // Install Meziantou.Framework.Globbing as a Cake Tool #tool nuget:?package=Meziantou.Framework.Globbing&version=1.0.9
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Meziantou.Framework.Globbing
Supported glob features
*
matches any number of characters including none?
matches a single character[abc]
matches one character given in the bracket[!abc]
matches any character not in the brackets[a-z]
matches one character from the range given in the bracket[!a-z]
matches one character not in the range given in the bracket{abc,123}
matches one of the literals**
matches zero or more directories
Usage
Install the NuGet package Meziantou.Framework.Globbing
(NuGet)
<PackageReference Include="Meziantou.Framework.Globbing" Version="1.0.4" />
IsMatch
tests whether a file matches the glob patternGlob glob = Glob.Parse("src/**/*.txt", GlobOptions.IgnoreCase); glob.IsMatch("src/abc.txt");
Enumerate files that match a glob pattern
// Enumerate files that match the glob in the folder rootDirectory Glob glob = Glob.Parse("src/**/*.txt", GlobOptions.None); foreach(var file in glob.EnumerateFiles("rootDirectory")) { Console.WriteLine(file); }
Addition resources
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 is compatible. net5.0-windows was computed. net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp3.1 is compatible. |
.NET Framework | net472 is compatible. net48 was computed. net481 was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETCoreApp 3.1
- No dependencies.
-
.NETFramework 4.7.2
- Microsoft.IO.Redist (>= 5.0.0)
- System.Memory (>= 4.5.4)
-
net5.0
- No dependencies.
-
net6.0
- No dependencies.
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Meziantou.Framework.Globbing:
Package | Downloads |
---|---|
Meziantou.Framework.DependencyScanning
Find dependencies in source files. Support multiple package managers such as NuGet, npm, Docker, PyPi, and so on |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.0.14 | 450 | 11/17/2024 |
1.0.13 | 2,904 | 11/15/2023 |
1.0.11 | 1,911 | 12/6/2021 |
1.0.10 | 372 | 10/21/2021 |
1.0.9 | 422 | 7/14/2021 |
1.0.8 | 370 | 4/22/2021 |
1.0.7 | 352 | 4/22/2021 |
1.0.6 | 335 | 4/22/2021 |
1.0.5 | 518 | 12/26/2020 |
1.0.4 | 502 | 10/23/2020 |
1.0.3 | 429 | 10/21/2020 |
1.0.2 | 436 | 10/19/2020 |
1.0.0 | 426 | 10/18/2020 |