puppetlabs/puppetlabs-stdlib — pull request #187 by GregSutcliffe (2013-09-27 14:23:20+00:00)
Title: Don't return nil in validate_re

validate_re currently seems to return `nil` for success, and `false` when one of them fails (in addition to the `raise`). This patch changes it to return `true` on success, which as a bit more sane.