Merge pull request #26537 from jfindlay/note

Merge #26481
This commit is contained in:
Justin Findlay 2015-08-20 23:37:24 -06:00
commit 7da87fabf1

View file

@ -2489,6 +2489,12 @@ def replace(name,
# <...snip...>
- pattern: |
CentOS \(2.6.32[^\n]+\n\s+root[^\n]+\n\)+
.. note::
When using YAML multiline string syntax in ``pattern:``, make sure to
also use that syntax in the ``repl:`` part, or you might loose line
feeds.
'''
name = os.path.expanduser(name)