mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 18:31:02 +01:00
Test regex
This commit is contained in:
@@ -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?"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user