From 7821c6f19e3321e6c2562b738cc4517dd86beb28 Mon Sep 17 00:00:00 2001 From: 13xforever Date: Fri, 28 Feb 2020 22:30:09 +0500 Subject: [PATCH] try to fix linux version --- CompatBot/Utils/ResultFormatters/LogParserResultFormatter.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CompatBot/Utils/ResultFormatters/LogParserResultFormatter.cs b/CompatBot/Utils/ResultFormatters/LogParserResultFormatter.cs index 9b541845..9db35bf6 100644 --- a/CompatBot/Utils/ResultFormatters/LogParserResultFormatter.cs +++ b/CompatBot/Utils/ResultFormatters/LogParserResultFormatter.cs @@ -35,7 +35,7 @@ namespace CompatBot.Utils.ResultFormatters @"(?[^|@]+?)\s*(((CPU\s*)?@\s*(?.+)\s*GHz\s*)|((APU|(with )?Radeon) [^|]+)|((\w+[\- ]Core )?Processor))?\s* \| (?\d+) Threads \| (?[0-9\.\,]+) GiB RAM( \| TSC: (?\S+))?( \| (?.*?))?\r?$", DefaultSingleLine); private static readonly Regex OsInfoInLog = new Regex( - @"Operating system: (?[^,]+), (Name: (?[^,]+), Release: (?[^,]+), Version: (?[^,\r\n]+)|Major: (?\d+), Minor: (?\d+), Build: (?\d+), Service Pack: (?[^,]+), Compatibility mode: (?[^,\r\n]+))\r?$", + @"Operating system: (?[^,]+), (Name: (?[^,]+), Release: (?[^,]+), Version: (?[^\r\n]+)|Major: (?\d+), Minor: (?\d+), Build: (?\d+), Service Pack: (?[^,]+), Compatibility mode: (?[^,\r\n]+))\r?$", DefaultSingleLine); private static readonly Regex LinuxKernelVersion = new Regex(@"(?\d+\.\d+\.\d+(-\d+)?)", DefaultSingleLine); private static readonly char[] NewLineChars = {'\r', '\n'};