Trim dot from dynamic text
authorVásáry Dániel <vasary@elgekko.net>
Tue, 2 Apr 2024 10:36:32 +0000 (12:36 +0200)
committerVásáry Dániel <vasary@elgekko.net>
Tue, 2 Apr 2024 10:36:32 +0000 (12:36 +0200)
client/MaestroShared/Commons/PatternNameMaker.cs
client/MaestroShared/Properties/AssemblyInfo.cs

index 85aea923f7d8e675eeb6e63e85f19f9b68c1310a..03a48222e83713db1c662ca123a1469175269362 100644 (file)
@@ -1,7 +1,6 @@
 using System;\r
 using System.Globalization;\r
 using System.IO;\r
-using System.Linq;\r
 using System.Text;\r
 using System.Text.RegularExpressions;\r
 \r
@@ -42,6 +41,7 @@ namespace MaestroShared.Commons {
                     stringBuilder.Append(c);\r
             }\r
             string result = stringBuilder.ToString();\r
+            result = result.Trim('.');\r
             result = Regex.Replace(result, NORMALIZE_TEXT_PATTERN, UNDERSCORE);\r
             if (result.Length > 100)\r
                 result = result.Substring(0, 100);\r
index 5ad59bc4a2f317b32ca85f31b3ba2ac7c0e3d98f..0ff5a07cec9aa58a87018ed3528d9d6741d50abd 100644 (file)
@@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
 // You can specify all the values or you can default the Build and Revision Numbers\r
 // by using the '*' as shown below:\r
 // [assembly: AssemblyVersion("1.0.*")]\r
-[assembly: AssemblyVersion("2.1.1.2")]\r
-[assembly: AssemblyFileVersion("2.1.1.2")]\r
+[assembly: AssemblyVersion("2.1.1.3")]\r
+[assembly: AssemblyFileVersion("2.1.1.3")]\r