ansible/docs/docsite/rst
Sam Doran 0fa56ed65d Add warning when using an empty regexp in lineinfile (#42013) (#42207)
* 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

(cherry picked from commit fb55038d75)
2018-07-05 09:41:07 -07:00
..
cli Core Docs Refactor and Redesign (#36067) 2018-02-13 11:00:31 -08:00
community Reduce warnings (#39254) (#39323) 2018-04-25 13:50:28 -05:00
dev_guide Update all pypi.python.org URLs to pypi.org (#38988) (#40119) 2018-05-14 19:19:10 -05:00
installation_guide [stable-2.5] ignore ansible.cfg in world writable cwd (#42070) (#42142) 2018-07-03 13:26:57 -07:00
inventory draft implicit localhost docs (#31840) 2017-11-22 19:13:56 -05:00
network adds table of connections by platform (#40688) (#40830) 2018-05-30 08:17:04 -05:00
plugins document lookup errors optoin (#39645) 2018-05-15 15:30:12 -04:00
porting_guides Add warning when using an empty regexp in lineinfile (#42013) (#42207) 2018-07-05 09:41:07 -07:00
reference_appendices Backport release_and_maintenance.rst (#39755) 2018-05-07 22:09:11 -05:00
roadmap adds index page for roadmaps to support internal links (#39109) (#39192) 2018-04-24 08:46:32 -05:00
scenario_guides corrects links to 'list_of' pages (#39161) (#39230) 2018-04-24 12:27:26 -05:00
user_guide Fix docs for all test. Fixes #41956 (#41965) (#41980) 2018-07-03 13:19:49 -07:00
conf.py Update installation docs for RHEL based distributions. (#38053) 2018-04-11 16:28:09 -04:00
index.rst adds index page for roadmaps to support internal links (#39109) (#39192) 2018-04-24 08:46:32 -05:00