Class: LogStash::Config::AST::RegExp

Inherits:
Value
  • Object
show all
Defined in:
lib/logstash/config/config_ast.rb

Instance Method Summary collapse

Methods inherited from Node

#text_value_for_comments

Instance Method Details

#compileObject



340
341
342
# File 'lib/logstash/config/config_ast.rb', line 340

def compile
  return "Regexp.new(" + Unicode.wrap(text_value[1...-1]) + ")"
end