Permalink
Browse files

Merge pull request #40 from dragan/sake-build-patch

Fixing regular expression not to stop at first paren.
  • Loading branch information...
2 parents ef372cf + 553690a commit f3fb78490243ee59d100811e802a0dd5b6f3daae @bvanderveen bvanderveen committed May 8, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 tools/sake/_update-assemblyinfo.shade
@@ -11,7 +11,7 @@ update-file each='var updateFile in Files.Include(include)'
@{
Action<string, string> replace = (name, value) => {
if (!string.IsNullOrWhiteSpace(value))
- updateText = Replace(updateText, name + "\\([^\\)]*\\)", name + "(\"" + value + "\")");
+ updateText = Replace(updateText, name + "\\([^\\)].*\\)", name + "(\"" + value + "\")");
};
replace("AssemblyVersion", assemblyVersion);
replace("AssemblyFileVersion", assemblyFileVersion);

0 comments on commit f3fb784

Please sign in to comment.