mirror of
https://github.com/home-assistant/developers.home-assistant.git
synced 2025-07-23 09:16:32 +00:00
Typo in add-on's configuration REGEX example (#801)
We have to escape the special chars in the REGEX. Co-authored-by: Laszlo Magyar <>
This commit is contained in:
parent
5346092ac8
commit
e0681d0ba6
@ -192,7 +192,7 @@ The `schema` looks like `options` but describes how we should validate the user
|
|||||||
"logins": [
|
"logins": [
|
||||||
{ "username": "str", "password": "str" }
|
{ "username": "str", "password": "str" }
|
||||||
],
|
],
|
||||||
"random": ["match(^\w*$)"],
|
"random": ["match(^\\w*$)"],
|
||||||
"link": "url",
|
"link": "url",
|
||||||
"size": "int(5,20)",
|
"size": "int(5,20)",
|
||||||
"count": "float",
|
"count": "float",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user