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



322
323
324
# File 'lib/logstash/config/config_ast.rb', line 322

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