Marusyk/grok.net

Multiline strings

ricsiLT opened this issue · 4 comments

Hi,

Since we're essentially passing down Regex to Grok, and Regex supports multiline via RegexOptions.Singleline, could it be supported in this package? I have some logs that unfortunately have \ns in them and I don't want to create a new object via .Replace() call. As it stands now, when I try to parse such string I only get items up to newline :(

Hello, sure. Are you interested in creating a pull request for this change?

Hmmm. Didn't consider it but - why not :D Will try and see how it goes

PR is there, check it out :)