mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-13 20:36:52 +00:00
Provide link to Python re
module in discussion of regex filters (#24552)
This commit is contained in:
parent
fdf3f2b9ac
commit
49a853f63f
@ -743,6 +743,9 @@ Some examples:
|
||||
|
||||
### Regular expressions
|
||||
|
||||
For more information on regular expressions
|
||||
See: [Python regular expression operations](https://docs.python.org/3/library/re.html)
|
||||
|
||||
- Test `string is match(find, ignorecase=False)` will match the find expression at the beginning of the string using regex.
|
||||
- Test `string is search(find, ignorecase=False)` will match the find expression anywhere in the string using regex.
|
||||
- Filter `string|regex_replace(find='', replace='', ignorecase=False)` will replace the find expression with the replace string using regex.
|
||||
|
Loading…
x
Reference in New Issue
Block a user