QuellCode/CentronERP war nur als Gitlink (Submodul-Referenz auf 79c1142) getrackt, ohne .gitmodules und ohne erreichbares Remote. Der Untersuchungsgegenstand der Versuchsreihe war damit nicht reproduzierbar gesichert: Ein Klon haette ein leeres Verzeichnis erhalten, und die Belege der 3.287 Anforderungen waeren nicht ueberpruefbar gewesen. Umstellung: - Historie nach c:\DEV\CentronERP_git_snapshot_79c1142 ausgelagert (vollstaendig lesbar, enthaelt 79c1142 und Vorgaenger 89ccfd6) - Gitlink aus dem Index entfernt - Dateiinhalt aufgenommen: 24.557 Dateien, rund 333 MB Die verschachtelte .gitignore der Codebasis gilt weiter, Build-Artefakte bleiben ausgeschlossen. Details in Versuche/Versuch_01/_Codebasis-Nachweis.md
21 lines
1.1 KiB
C#
21 lines
1.1 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Centron.Tests.EndToEnd.Infrastructure
|
|
{
|
|
public class RegexHelper
|
|
{
|
|
public const string Date = "\\d{2}\\.\\d{2}\\.\\d{4}"; //Beispiel: 01.01.2010
|
|
public const string RtfCreatedDate = "{\\\\creatim\\\\yr\\d{4}\\\\mo\\d{1,2}\\\\dy\\d{1,2}\\\\hr\\d{1,2}\\\\min\\d{1,2}}"; //Beispiel: {\\creatim\\yr2020\\mo1\\dy7\\hr13\\min41}
|
|
// Matches the whole RTF \info author region up to the trailing {\version token. This swallows the
|
|
// \upr/\ud unicode-author fallback DevExpress emits when the OS user name contains non-ANSI chars
|
|
// (e.g. "Müller"), so the normalized baseline stays "{\info{\author John Doe}{\version1}}" regardless
|
|
// of who regenerates it. Replacement is "{\info{\author John Doe}", leaving {\version...} intact.
|
|
public const string RtfInfo = "{\\\\info.*?(?={\\\\version)";
|
|
public const string Guid = "[0-9a-fA-F]{8}-([0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}";
|
|
}
|
|
}
|