mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-23 09:17:06 +00:00
Templating: "search" actually defaults to IgnoreCase false (#21993)
This commit is contained in:
parent
1df5b8f22e
commit
50ae2201a1
@ -701,7 +701,7 @@ Some examples:
|
||||
### Regular expressions
|
||||
|
||||
- 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=True)` will match the find expression anywhere in 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.
|
||||
- Filter `value | regex_findall(find='', ignorecase=False)` will find all regex matches of the find expression in `value` and return the array of matches.
|
||||
- Filter `value | regex_findall_index(find='', index=0, ignorecase=False)` will do the same as `regex_findall` and return the match at index.
|
||||
|
Loading…
x
Reference in New Issue
Block a user