Update algoritmo sostituzione eventi con spazio pre/post x evitare duplicati mal interpretati
This commit is contained in:
@@ -1 +1 @@
|
||||
0.9.2409.1719
|
||||
0.9.2409.1809
|
||||
|
||||
@@ -899,7 +899,11 @@ namespace SMGen.Data.Services
|
||||
}
|
||||
else if (eventsFromDb[int.Parse(lineSplit[1].Trim())] != lineSplit[2].Trim())
|
||||
{
|
||||
fileTxt = fileTxt.Replace(lineSplit[2].Trim(), eventsFromDb[int.Parse(lineSplit[1].Trim())]);
|
||||
// definisco i token con spazi prima e dopo x evitare sostituzione token "esempio" ed "esempio_01"...
|
||||
string sOrig = $" {lineSplit[2].Trim()} ";
|
||||
string sDest = $" {eventsFromDb[int.Parse(lineSplit[1].Trim())]} ";
|
||||
fileTxt = fileTxt.Replace(sOrig, sDest);
|
||||
//fileTxt = fileTxt.Replace(lineSplit[2].Trim(), eventsFromDb[int.Parse(lineSplit[1].Trim())]);
|
||||
evSt2Change.Add(lineSplit[2].Trim(), lineSplit[0].Trim());
|
||||
}
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
|
||||
-->
|
||||
<Project>
|
||||
<PropertyGroup>
|
||||
<History>True|2024-09-17T17:25:38.1089716Z||;True|2024-09-17T17:30:03.3866876+02:00||;True|2023-07-24T16:24:14.2770302+02:00||;True|2023-07-24T16:23:20.6455643+02:00||;True|2023-05-22T15:35:59.9735292+02:00||;False|2023-05-22T15:33:39.4808724+02:00||;True|2023-05-11T17:36:48.1468628+02:00||;</History>
|
||||
<History>True|2024-09-18T06:56:03.0373948Z||;True|2024-09-17T19:25:38.1089716+02:00||;True|2024-09-17T17:30:03.3866876+02:00||;True|2023-07-24T16:24:14.2770302+02:00||;True|2023-07-24T16:23:20.6455643+02:00||;True|2023-05-22T15:35:59.9735292+02:00||;False|2023-05-22T15:33:39.4808724+02:00||;True|2023-05-11T17:36:48.1468628+02:00||;</History>
|
||||
<LastFailureDetails />
|
||||
<TimeStampOfAssociatedLegacyPublishXmlFile />
|
||||
<EncryptedPassword>AQAAANCMnd8BFdERjHoAwE/Cl+sBAAAAHBJL+AjnSkKKQcJBrmvYDwAAAAACAAAAAAADZgAAwAAAABAAAABqHjtCI4r9HP4to5TPRtU/AAAAAASAAACgAAAAEAAAAGWTrj6ykvtUZnIZTp5COsMYAAAAHkol9Zhdo3QCFNYyIvyJViyIyNSW1oNCFAAAAEvXT2wDdsDBGFpVXvR5NVA172tk</EncryptedPassword>
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@
|
||||
<Nullable>enable</Nullable>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Description>State Machine Generator</Description>
|
||||
<Version>0.9.2409.1719</Version>
|
||||
<Version>0.9.2409.1809</Version>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
||||
Reference in New Issue
Block a user