Fix documentation misformat in salt.states.file.replace

This commit is contained in:
Corvin Mcpherson 2017-07-19 19:29:20 -04:00
parent d385dfd19d
commit 246a2b3e74

View File

@ -3797,12 +3797,13 @@ def replace(name,
A regular expression, to be matched using Python's
:py:func:`~re.search`.
..note::
.. note::
If you need to match a literal string that contains regex special
characters, you may want to use salt's custom Jinja filter,
``escape_regex``.
..code-block:: jinja
.. code-block:: jinja
{{ 'http://example.com?foo=bar%20baz' | escape_regex }}