All, Are regexes supported in if/else statements? For example: if $foo =~ /^some.*string$/ { notice ("I foo''d") } else { notice ("bar") } If not, are there any plans to do so? (Yes, I know I need to stop asking questions and start submitting patches :-/) Caveat: I haven''t been able to upgrade to 0.24.7 yet. I managed a kludgy workaround with a custom function, but that''s not exactly pleasant. Trevor --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---