You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2019/05/30 19:22:00 UTC

[jira] [Updated] (CAMEL-13597) Splitter tokenize doesn't really accept every regex

     [ https://issues.apache.org/jira/browse/CAMEL-13597?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen updated CAMEL-13597:
--------------------------------
    Issue Type: Improvement  (was: Bug)

> Splitter tokenize doesn't really accept every regex
> ---------------------------------------------------
>
>                 Key: CAMEL-13597
>                 URL: https://issues.apache.org/jira/browse/CAMEL-13597
>             Project: Camel
>          Issue Type: Improvement
>          Components: came-core
>    Affects Versions: 2.17.0
>            Reporter: qu4ntic
>            Priority: Minor
>              Labels: bug
>
> Hi, 
> Neither
> {code:java}
> .split().tokenize("\r?\n", true, 2, true){code}
> nor 
> {code:java}
> .split().tokenize("\r\n|\n", true, 2, true){code}
> work.
>  
> The latter expression insert a "|" instead of correctly split rows on \r\n or \n.
>  
>  
>  
>  
>  
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)