[puppet mode] Make regexp for regexps non-greedy

Issue #2696