Skip to content

Cannot use \n as a terminator that isn't the default #4

@DustinChaloupka

Description

@DustinChaloupka

Using the split filter and not specifying a terminator (by default uses \n) works fine, as in it splits on newlines. However, if I do specify the terminator as follows:

split {
  terminator => "\n"
}

Then it does not work, as in it does not split on newlines. I took a peek at the source code and it did not seem that this should be a problem as it is just a string representation though...

The use case I had found this in was when trying to actually split on \n\n instead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions