From 50ae2201a154f38a9b320ad8a2fe07108cd6843a Mon Sep 17 00:00:00 2001 From: Chris Browet Date: Sat, 12 Mar 2022 17:35:00 +0100 Subject: [PATCH] Templating: "search" actually defaults to IgnoreCase false (#21993) --- source/_docs/configuration/templating.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/_docs/configuration/templating.markdown b/source/_docs/configuration/templating.markdown index f7b5f158180..941404c43e9 100644 --- a/source/_docs/configuration/templating.markdown +++ b/source/_docs/configuration/templating.markdown @@ -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.