From c47c26482c36dd2f75319debca2de85624d0479f Mon Sep 17 00:00:00 2001 From: alterNERDtive Date: Tue, 16 Feb 2021 12:07:32 +0100 Subject: [PATCH] RatAttack: narrowed down sys name regex for landmark Seems to not cause issues so far ;) --- plugins/RatAttack/RatAttack.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/RatAttack/RatAttack.cs b/plugins/RatAttack/RatAttack.cs index b3b4e02..f240319 100644 --- a/plugins/RatAttack/RatAttack.cs +++ b/plugins/RatAttack/RatAttack.cs @@ -18,7 +18,7 @@ namespace RatAttack private static alterNERDtive.util.PipeServer? ratsignalPipe; private static readonly Regex RatsignalRegex = new Regex( - @"^RATSIGNAL - CMDR (?.+) - Reported System: (None|""(?.+)""(\x0314)? \((?.*([0-9,\.]+ LY from .*|Not found in galaxy database|Invalid system name|Valid system name)?)\)(\x03)?(? \x037\(((?.*) )?Permit Required\)\x03)?) - Platform: \x03(6|3|12)(?(PC|Xbox|Playstation))\x03 - O2: (\x034)?(?(NOT )?OK)\x03? - Language: .+ \(\x02Case #(?\d+)\x02\) \((PC|XB|PS)_SIGNAL\)\v*$" + @"^RATSIGNAL - CMDR (?.+) - Reported System: (None|""(?.+)""(\x0314)? \((?.*([0-9,\.]+ LY from [a-zA-Z0-9\s]+|Not found in galaxy database|Invalid system name|Valid system name)?)\)(\x03)?(? \x037\(((?.*) )?Permit Required\)\x03)?) - Platform: \x03(6|3|12)(?(PC|Xbox|Playstation))\x03 - O2: (\x034)?(?(NOT )?OK)\x03? - Language: .+ \(\x02Case #(?\d+)\x02\) \((PC|XB|PS)_SIGNAL\)\v*$" ); private static VoiceAttackLog Log