Simplified regexes in lineinfile tasks.