dotnet / dotnet/msbuild

Globbing should be extended to support basic pattern matching.

Open
#2,346 14 comments 0 reactions 0 assignees View on GitHub
triaged
Dominant language
C#
Stars
5.5k
Forks
1.5k
Avg merge
1d 8h
Merged PRs (30d)
141

Description

It is often the case that you want to nest certain files matching a given pattern under another file that matches a corresponding pattern.

One such case is nesting `*.Designer.cs` under the corresponding `*.resx`.

It would be useful if globbing support could be extended to include basic pattern matching such that the following is possible:
```xml

```

I imagine that enabling this functionality could be done via an explicit property (``) or via some specialized syntax (regex supports this via one of the 'capturing' grouping constructs: https://docs.microsoft.com/en-us/dotnet/standard/base-types/grouping-constructs-in-regular-expressions#named_matched_subexpression).

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.