You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Chad Durovec (JIRA)" <ji...@apache.org> on 2015/10/19 20:41:28 UTC
[jira] [Updated] (CAMEL-9236) Tokenize with regex grouping has a
small bug
[ https://issues.apache.org/jira/browse/CAMEL-9236?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chad Durovec updated CAMEL-9236:
--------------------------------
Affects Version/s: 2.17.0
Future
3.0.0
> Tokenize with regex grouping has a small bug
> --------------------------------------------
>
> Key: CAMEL-9236
> URL: https://issues.apache.org/jira/browse/CAMEL-9236
> Project: Camel
> Issue Type: Bug
> Components: camel-core
> Affects Versions: 2.15.0, 2.15.1, 2.15.2, 2.15.3, 2.16.0, 3.0.0, Future, 2.17.0
> Reporter: Chad Durovec
> Priority: Minor
> Fix For: Future
>
> Original Estimate: 48h
> Remaining Estimate: 48h
>
> Looks like a copy/paste error is preventing the grouping functionality from being executed by the helper object.
> group should be passed to the delegate's tokenize method.
> camel-core/src/main/java/org/apache/camel/builder/ExpressionClause.java
> /**
> * Evaluates a token expression on the message body
> *
> * @param token the token
> * @param regex whether the token is a regular expression or not
> * @param group to group by the given number
> * @return the builder to continue processing the DSL
> */
> public T tokenize(String token, boolean regex, int group) {
> return delegate.tokenize(token, regex);
> }
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)