diff --git a/OpenCNCPilot/Communication/Machine.cs b/OpenCNCPilot/Communication/Machine.cs index 9186891..f43cb16 100644 --- a/OpenCNCPilot/Communication/Machine.cs +++ b/OpenCNCPilot/Communication/Machine.cs @@ -1093,7 +1093,7 @@ private void ParseStatus(string line) StatusReceived.Invoke(line); } - private static Regex ProbeEx = new Regex(@"\[PRB:(?'Pos'[-0-9\.]*,[-0-9\.]*,[-0-9\.]*):(?'Success'0|1)\]", RegexOptions.Compiled); + private static Regex ProbeEx = new Regex(@"\[PRB:(?'Pos'\-?[0-9\.]*(?:,\-?[0-9\.]*)+):(?'Success'0|1)\]", RegexOptions.Compiled); /// /// Parses a recevied probe report