From 8a2ac8f76a1cfb7372131afcce9c73c379e3e22f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Milutin=20Jovanovi=C4=87?= Date: Tue, 11 Feb 2020 12:23:58 -0500 Subject: [PATCH] Fixing typo in regex escape. (#67236) --- lib/ansible/modules/files/lineinfile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/modules/files/lineinfile.py b/lib/ansible/modules/files/lineinfile.py index 568c28abfdf..d3094bede3c 100644 --- a/lib/ansible/modules/files/lineinfile.py +++ b/lib/ansible/modules/files/lineinfile.py @@ -188,7 +188,7 @@ EXAMPLES = r''' - name: Ensure the JBoss memory settings are exactly as needed lineinfile: path: /opt/jboss-as/bin/standalone.conf - regexp: '^(.*)Xms(\\d+)m(.*)$' + regexp: '^(.*)Xms(\d+)m(.*)$' line: '\1Xms${xms}m\3' backrefs: yes