From d732b25828964b474b8d622e7a24c940cf16d852 Mon Sep 17 00:00:00 2001 From: jkleint Date: Thu, 20 Dec 2012 11:41:45 -0500 Subject: [PATCH] Clarify that lineinfile uses Python regexes. --- library/lineinfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/library/lineinfile b/library/lineinfile index d9d1422b907..d0f4244b98c 100644 --- a/library/lineinfile +++ b/library/lineinfile @@ -42,7 +42,8 @@ options: description: - The regular expression to look for in the file. For C(state=present), the pattern to replace. For C(state=absent), the pattern of the line - to remove. + to remove. Uses Python regular expressions; see + U(http://docs.python.org/2/library/re.html). state: required: false choices: [ present, absent ]