Issue #4497 has been updated by martin krafft. Affected version set to 0.25.5
---------------------------------------- Bug #4497: Regex capture variables need ""'s http://projects.puppetlabs.com/issues/4497 Author: martin krafft Status: Needs more information Priority: Normal Assigned to: Category: documentation Target version: Affected version: 0.25.5 Keywords: Branch: The language tutorial contains an example that does not work: <pre> $system = $operatingsystem ? { /(redhat|debian)/ => 'our system is $1', default => 'our system is unknown', } </pre> The same applies to the case example further down. In both cases, $1 is only expanded if it appears in double-quotes. -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
