cake-build / cake-vs

Cake Extension for Visual Studio
https://marketplace.visualstudio.com/items?itemName=vs-publisher-1392591.CakeforVisualStudio
MIT License
67 stars 25 forks source link

task-runner: Rework regex to be more flexible #52

Closed nalla closed 7 years ago

nalla commented 7 years ago

Some projects may enforce special coding style guidelines on their projects. To be more flexible in this area the regex that is used to identify task names should be more flexible.

This issue is the result of the quick discussion in the gitter chat:

@gep13 https://github.com/cake-build/cake-vs/blob/develop/src/TaskRunner/TaskParser.cs#L25 Are you open to a PR that will improve that regex to https://regex101.com/r/vrnDgB/1 ? @gep13 https://regex101.com/r/vrnDgB/3 is even better ;) @nalla certainly not against a PR. /cc @agc93