mirror of https://github.com/ansible/ansible.git
Fixed subsection replacement with before/after patterns
* using a _named_ capture in our assembled pattern, since before/after could potentially contain their own parenthesized captures * ensuring we only replace against the named capture in question * removing some duplication in the regexp replacement, that was introduced in ansible/ansible#22535 * fixed edge case of before/after not matching file content to replace Fixes ansible/ansible#24840pull/24455/merge
parent
5bd4e01533
commit
3d1701b959
Loading…
Reference in New Issue