From 13e0591fc98ca68c1055ce7fc81b7fa37e632eb9 Mon Sep 17 00:00:00 2001 From: timvisee Date: Tue, 13 Feb 2018 16:59:37 +0100 Subject: [PATCH] Fix screen size regex spacing --- src/pix/client.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pix/client.rs b/src/pix/client.rs index 6a17afb..5c6c4d8 100644 --- a/src/pix/client.rs +++ b/src/pix/client.rs @@ -19,7 +19,7 @@ const CMD_READ_BUFFER_SIZE: usize = 32; // The response format of the screen size from a pixelflut server. const PIX_SERVER_SIZE_REGEX: &'static str = - r"^(?i)\s*SIZE\s*([[:digit:]]+)\s*([[:digit:]]+)\s*$"; + r"^(?i)\s*SIZE\s+([[:digit:]]+)\s+([[:digit:]]+)\s*$";