# File lib/puppet/parser/ast/leaf.rb, line 134
134:         def regex?
135:             @value.is_a?(Regex)
136:         end