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



327
328
329
# File 'lib/logstash/config/config_ast.rb', line 327

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