fix quick typo (#75373)

fix a small typo introduced in #75343
pull/75253/head
Brian Scholer 3 years ago committed by GitHub
parent 22aa6dedc9
commit 7d2b80371d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1522,7 +1522,7 @@ The ``regex_search`` filter returns an empty string if it cannot find a match::
{{ 'ansible' | regex_search('foobar') }}
# => ''
Note that due to historic behavior and custom re-implementation of some of the Jinja internals in Ansible there is an exception to the behavior. When used in a Jinja expression (for example in conjunction with operators, other filters, and so no) the return value differs, in those situations the return value is ``none``. See the two examples below::
Note that due to historic behavior and custom re-implementation of some of the Jinja internals in Ansible there is an exception to the behavior. When used in a Jinja expression (for example in conjunction with operators, other filters, and so on) the return value differs, in those situations the return value is ``none``. See the two examples below::
{{ 'ansible' | regex_search('foobar') == '' }}
# => False

Loading…
Cancel
Save