saltstack/salt — pull request #1341 by imankulov (2012-05-25 06:46:21+00:00)
Title: Fix file.comment/file.uncomment states

Function "file.contains_regex" used to search values from the beginning of lines and thus couldn't find patterns like "hello world" in a "#hello world" string.

I'm not sure whether my minor correction results in the expected behaviour, but I really hope it makes sence.

Thank you.