jordansissel / ruby-grok

Pure-ruby implementation of grok.
Apache License 2.0
54 stars 25 forks source link

DOTALL regex should match multiline by default #8

Closed suyograo closed 10 years ago

suyograo commented 10 years ago

DOTALL (.*) does not match multiline today. This means users have to place ?m in front of the pattern to enable this support. Better way is to do this while constructing the regex using Regexp::MULTILINE

See https://logstash.jira.com/browse/LOGSTASH-276