[
https://issues.apache.org/jira/browse/NIFI-436?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14367149#comment-14367149
]
Mark Payne commented on NIFI-436:
---------------------------------
Jon,
In this case, you may want to look into the SplitContent processor instead? It
allows you split on arbitrary patterns that you provide to it. Does this give
you what you need?
The code for SplitText can be found at
nifi/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/SplitText.java
Thanks
-Mark
> SplitText should allow changing the endline regex
> -------------------------------------------------
>
> Key: NIFI-436
> URL: https://issues.apache.org/jira/browse/NIFI-436
> Project: Apache NiFi
> Issue Type: Improvement
> Reporter: Jon Parise
>
> I have a CSV file in a format that inidcates the end of a line with a crlf.
> This file has embedded comments that have lf in them.
> When I run this file through the split text processor, it is splitting at the
> LF characters.
> I think it would be nice to have a setting to change the line ending
> characters for splitting text.
> I can't find anything in the documentation that indicates how I would change
> this behavior, so I assume it does not exist.
> Also, I would be willing to try and implement this improvement, but I can't
> seem to find the source for the SplitTextProcessor.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)