regex_replace: correct Python function in docs (#81253)

regex_replace calls re.sub()
pull/81237/head
flowerysong 1 year ago committed by GitHub
parent b6ebb9d41a
commit d373ec572b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -5,7 +5,7 @@ DOCUMENTATION:
description:
- Replace a substring defined by a regular expression with another defined by another regular expression based on the first match.
notes:
- Maps to Python's C(re.replace).
- Maps to Python's C(re.sub).
positional: _input, _regex_match, _regex_replace
options:
_input:

Loading…
Cancel
Save