Kostal Pico legacy: Fix regex

This commit is contained in:
premultiply 2023-03-18 20:39:02 +01:00 • committed by GitHub
parent 52d63a2eba
commit 0680f16fed
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -21,6 +21,6 @@ render: |
type: basic
user: {{ .user }}
password: {{ .password }}
regex: '(?s)aktuell<\/td>\s*<td[^>]*>\s*(\d+)'
regex: '(?s)aktuell</td>\s+<td[^>]+>\s+(\d+)</td>'
default: 0
{{- end -}}