RatAttack: more corner case regex adjustment, and PS4 colour fix

This commit is contained in:
alterNERDtive 2020-10-21 18:47:38 +02:00
parent 67d4c45102
commit 77e727bb9c

View file

@ -16,7 +16,7 @@ namespace RatAttack
private static alterNERDtive.util.PipeServer<Ratsignal>? ratsignalPipe;
private static Regex RatsignalRegex = new Regex(
@"^RATSIGNAL - CMDR (?<cmdr>.+) - Reported System: (?<system>.+)( \([0-9,\.]+ LY from .*\))? - Platform: \x03[236](?<platform>(PC|XB|PS4))\x03 - O2: (\x034)?(?<oxygen>(NOT )?OK)\x03? Language: .+ \(Case #(?<number>\d+)\) \((PC|XB|PS)_SIGNAL\)$",
@"^RATSIGNAL - CMDR (?<cmdr>.+) - Reported System: (?<system>.+)( \(([0-9,\.]+ LY from .*|not in galaxy database)\))? - Platform: \x03(6|3|12)(?<platform>(PC|XB|PS4))\x03 - O2: (\x034)?(?<oxygen>(NOT )?OK)\x03? Language: .+ \(Case #(?<number>\d+)\) \((PC|XB|PS)_SIGNAL\)\v*$",
RegexOptions.RightToLeft);
private static VoiceAttackLog Log