You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/docs
Sam Doran fb55038d75 Add warning when using an empty regexp in lineinfile (#42013)
* Revert "Account for empty string regexp in lineinfile (#41451)"

This reverts commit 4b5b4a760c.

* Use context managers for interacting with files

* Store line and regexp parameters in a variable

* Add warning when regexp is an empty string

* Remove '=' from error messages

* Update warning message and add changelog

* Add tests

* Improve warning message

Offer an equivalent regexp that won't trigger the warning.
Update tests to match new warning.

* Add porting guide entry for lineinfile change
6 years ago
..
api docs: PEP8 compliance (#24681) 7 years ago
bin Documentation: show non-string non-iterable defaults for choices (#40212) 6 years ago
docsite Add warning when using an empty regexp in lineinfile (#42013) 6 years ago
man added docs to CLI docstringsadded 8 years ago
templates ignore ansible.cfg in world writable cwd (#42070) 6 years ago