bumped Ratattack version

This commit is contained in:
alterNERDtive 2023-07-29 18:48:13 +02:00
parent 5795ae8749
commit 4938147557
Signed by: alterNERDtive
GPG key ID: 547787A4FE6533F1
2 changed files with 5 additions and 1 deletions

View file

@ -5,6 +5,10 @@
* Fixed `Newtonsoft.Json` version conflict that prevented getting approximate
coordinates for an unknown system from EDTS.
## RatAttack 6.4.1
* Fixed RATSIGNAL regex for the `LEG/HOR/ODY` distinction.
-----
# 4.5 (2022-09-19)

View file

@ -33,7 +33,7 @@ namespace RatAttack
/// </summary>
public class RatAttack
{
private static readonly Version VERSION = new ("6.4");
private static readonly Version VERSION = new ("6.4.1");
private static readonly Regex RatsignalRegex = new (
@"^RATSIGNAL Case #(?<number>\d+) (?<platform>(PC|Xbox|Playstation))( )?(?<mode>LEG|HOR|ODY)?(?<oxygen> \(Code Red\))? CMDR (?<cmdr>.+) System: (None|u\u200bnknown system|""(?<system>.+)"" \((?<systemInfo>([a-zA-Z0-9\s\(\)\-/]*(~?[0-9,\.]+ LY (""[a-zA-Z\-]+"" of|from) [a-zA-Z0-9\s\*\-]+)?( \([a-zA-Z\s]+\))?|Not found in galaxy database|Invalid system name))\)(?<permit> \(((?<permitName>.*) )?Permit Required\))?) Language: (?<language>[a-zA-z0-9\x7f-\xff\-\(\)&,\s\.]+)( Nick: (?<nick>[a-zA-Z0-9_\[\]\-\^]+))? \((LEG|HOR|ODY|XB|PS)_SIGNAL\)\v*$");