Meziantou.Framework.Globbing
1.0.16
Prefix Reserved
.NET 8.0
This package targets .NET 8.0. 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.
dotnet add package Meziantou.Framework.Globbing --version 1.0.16
NuGet\Install-Package Meziantou.Framework.Globbing -Version 1.0.16
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.16" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Meziantou.Framework.Globbing" Version="1.0.16" />
<PackageReference Include="Meziantou.Framework.Globbing" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Meziantou.Framework.Globbing --version 1.0.16
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Meziantou.Framework.Globbing, 1.0.16"
#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.
#:package Meziantou.Framework.Globbing@1.0.16
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Meziantou.Framework.Globbing&version=1.0.16
#tool nuget:?package=Meziantou.Framework.Globbing&version=1.0.16
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 | net8.0 is compatible. 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. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
.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.
-
.NETFramework 4.7.2
- Microsoft.IO.Redist (>= 6.1.3)
- System.Memory (>= 4.6.3)
-
net8.0
- No dependencies.
-
net9.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.16 | 4,805 | 5/25/2025 |
1.0.15 | 8,919 | 3/23/2025 |
1.0.14 | 13,424 | 11/17/2024 |
1.0.13 | 2,954 | 11/15/2023 |
1.0.11 | 1,984 | 12/6/2021 |
1.0.10 | 438 | 10/21/2021 |
1.0.9 | 489 | 7/14/2021 |
1.0.8 | 443 | 4/22/2021 |
1.0.7 | 423 | 4/22/2021 |
1.0.6 | 408 | 4/22/2021 |
1.0.5 | 595 | 12/26/2020 |
1.0.4 | 587 | 10/23/2020 |
1.0.3 | 509 | 10/21/2020 |
1.0.2 | 516 | 10/19/2020 |
1.0.0 | 512 | 10/18/2020 |