From 75d9b4aaa0bf1e992b38c1f43f21ee847dfde11e Mon Sep 17 00:00:00 2001 From: Marko Oldenburg Date: Sun, 28 Apr 2019 10:15:42 +0200 Subject: [PATCH] fix Unescaped left brace in regex is deprecated here --- 82_LGTV_WebOS.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/82_LGTV_WebOS.pm b/82_LGTV_WebOS.pm index 44c2f63..49e4406 100644 --- a/82_LGTV_WebOS.pm +++ b/82_LGTV_WebOS.pm @@ -69,7 +69,7 @@ eval "use Blocking;1" or $missingModul .= "Blocking "; -my $version = "2.0.10"; +my $version = "2.0.11"; @@ -634,9 +634,9 @@ sub LGTV_WebOS_Read($) { } - if( $buf =~ /({"type":".+}}$)/ ) { + if( $buf =~ /(\{"type":".+}}$)/ ) { - $buf =~ /({"type":".+}}$)/; + $buf =~ /(\{"type":".+}}$)/; $buf = $1; Log3 $name, 4, "LGTV_WebOS ($name) - received correct JSON string, start response processing: $buf";