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

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

Instance Method Summary collapse

Instance Method Details

#compileObject



218
219
220
# File 'lib/logstash/config/config_ast.rb', line 218

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