From 8f1c537cd91e97028e15df28d15d3d136b55b769 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Tue, 14 Sep 2021 22:24:57 +0200 Subject: [PATCH] Test regex --- qbittorrent/config.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qbittorrent/config.json b/qbittorrent/config.json index b8ea75ed0..021def5a5 100644 --- a/qbittorrent/config.json +++ b/qbittorrent/config.json @@ -83,7 +83,7 @@ "openvpn_config": "str?", "openvpn_username": "str?", "openvpn_password": "str?", - "run_duration": "match(/[0-9]+[d|h|m|s]?\s?([0-9]+[h|m|s]\s?)?([0-9]+[m|s]\s?)?([0-9]+[s]?\s)?/i)?", + "run_duration": "match([0-9]+[d|h|m|s]/i)?", "TZ": "str?" } }