RatAttack: amended regex for special character in language strings
This commit is contained in:
parent
1904dd6d41
commit
4495d9ead2
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ namespace RatAttack
|
|||
private static alterNERDtive.util.PipeServer<Ratsignal>? ratsignalPipe;
|
||||
|
||||
private static readonly Regex RatsignalRegex = new Regex(
|
||||
@"^RATSIGNAL - CMDR (?<cmdr>.+) - Reported System: (None|unknown system|""(?<system>.+)""(\x0314)? \((?<systemInfo>([a-zA-Z0-9\s\(\)\-~]*([0-9,\.]+ LY (""[a-zA-Z\-]+"" of|from) [a-zA-Z0-9\s\*]+)?|Not found in galaxy database|Invalid system name))\)(\x03)?(?<permit> \x037\(((?<permitName>.*) )?Permit Required\)\x03)?) - Platform: \x03(6|3|12)(?<platform>(PC|Xbox|Playstation))\x03 - O2: (\x034)?(?<oxygen>(NOT )?OK)\x03? - Language: (?<language>[a-zA-z\-\(\)\s]+)( - IRC Nick (?<nick>[a-zA-Z0-9_\[\]\-]+))? \(\x02Case #(?<number>\d+)\x02\) \((PC|XB|PS)_SIGNAL\)\v*$"
|
||||
@"^RATSIGNAL - CMDR (?<cmdr>.+) - Reported System: (None|unknown system|""(?<system>.+)""(\x0314)? \((?<systemInfo>([a-zA-Z0-9\s\(\)\-~]*([0-9,\.]+ LY (""[a-zA-Z\-]+"" of|from) [a-zA-Z0-9\s\*]+)?|Not found in galaxy database|Invalid system name))\)(\x03)?(?<permit> \x037\(((?<permitName>.*) )?Permit Required\)\x03)?) - Platform: \x03(6|3|12)(?<platform>(PC|Xbox|Playstation))\x03 - O2: (\x034)?(?<oxygen>(NOT )?OK)\x03? - Language: (?<language>[a-zA-z\x7f-\xff\-\(\)\s]+)( - IRC Nick (?<nick>[a-zA-Z0-9_\[\]\-]+))? \(\x02Case #(?<number>\d+)\x02\) \((PC|XB|PS)_SIGNAL\)\v*$"
|
||||
);
|
||||
|
||||
private static VoiceAttackLog Log
|
||||
|
|
Loading…
Reference in a new issue