From e282c6bd3c8fc9a48db441c64973166e39018dd3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20=C5=A0abata?= Date: Sat, 19 Aug 2023 10:41:54 +0200 Subject: [PATCH] New room listing MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Handle the case where the room has no moderator set. Signed-off-by: Petr Šabata --- malicek.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/malicek.pl b/malicek.pl index 491ff1e..93e73b6 100755 --- a/malicek.pl +++ b/malicek.pl @@ -339,7 +339,8 @@ sub parse_rooms { (?>\s(?>–\s(?[^<]+)|\(ticho[^)]*\))<\/small>)?<\/[ai]> (?>(?>\(založila?\s]*> (?[^<]+)<\/span><\/a>\)| - ]+>[^<]+<\/span>]+><\/samp><\/a>)<\/small>)? + ]+>[^<]+<\/span>]+><\/samp><\/a>| + ]+>\(nikdo\)<\/i>)<\/small>)? \s<\/div>\s(?>\s[^"]+)?"\sdata-pocet="\d+"> (?.+?)<\/div>)? /sgx) {