Skip to content

fix: update regex pattern, needed escaping of the string as a raw string#1

Open
mspoorendonk wants to merge 2 commits into
Bereware:mainfrom
mspoorendonk:main
Open

fix: update regex pattern, needed escaping of the string as a raw string#1
mspoorendonk wants to merge 2 commits into
Bereware:mainfrom
mspoorendonk:main

Conversation

@mspoorendonk
Copy link
Copy Markdown

This is to mitigate this warning

Logger: py.warnings
Source: util/loop.py:201
First occurred: 09:21:59 (1 occurrence)
Last logged: 09:21:59

/config/custom_components/tuya_ble/text.py:134: SyntaxWarning: invalid escape sequence '\d' pattern="^((\d{1,2}|100)(/\d{1,2})?)(;((\d{1,2}|100)(/\d{1,2})?))+$",

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant