dotnet / dotnet/ResXResourceManager
Detect Code References doesn't work with Regex
- Dominant language
- C#
- Stars
- 1.5k
- Forks
- 251
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 1
Description
Hello,
We're using the Extended Strongly Typed Resource Generator, which generates some extra methods for string formatting in our resources' .Designer.cs files. For example Account.CancelInfo, which got {{0}} in it, will generate Account.CancelInfoFormat(obj arg0) automatically.
We're trying to detect these method references with the following regular expression:
($File.$Key)Format\((\w+,?\W?)+\)

According to multiple expression testers, this pattern matches Account.CancelInfoFormat(xxx). But for some reason we find 0 references:

Do you have an explanation for this, like why doesn't the regular expression match?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.