You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by duro <du...@yahoo.com> on 2015/10/13 15:48:50 UTC

Tokenize with regex grouping has a small bug

Looks like a copy/paste error is preventing the grouping functionality to be
executed by the helper class.
group should be passed to the delegates tokenize method.

    /**
     * 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);
    }




--
View this message in context: http://camel.465427.n5.nabble.com/Tokenize-with-regex-grouping-has-a-small-bug-tp5772616.html
Sent from the Camel Development mailing list archive at Nabble.com.