dotnet / dotnet-template-samples

Samples showing how to create templates using the Template Engine for dotnet new and Visual Studio

Home Page:https://docs.microsoft.com/dotnet/articles/core/tools/dotnet-new

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Q: parameter regexpr

grahamehorner opened this issue · comments

Is it possible for a template parameter value to have a regex validation attached to prevent/validate the values supplied; an or display a validation error if/when the value supplied violates the regex condition?

If so can you please point towards references/samples?